函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\core.c Create Date:2022-07-27 09:01:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:The Monarch's reign

函数原型:static void mce_reign(void)

返回类型:void

参数:

898  struct mce * m = NULL
899  global_worst等于0
900  char * msg = NULL
901  char * nmsg = NULL
908  遍历可用CPU(cpu)
909  severity等于mce_severity( & per_cpu(mces_seen, cpu), tolerant, & nmsg, true)
912  如果severity大于global_worst
913  msg等于nmsg
914  global_worst等于severity
915  m等于per_cpu(mces_seen, cpu)
924  如果mglobal_worst大于等于MCE_PANIC_SEVERITYtolerant小于3则mce_panic("Fatal machine check", m, msg)
937  如果global_worst小于等于MCE_KEEP_SEVERITYtolerant小于3则mce_panic("Fatal machine check from unknown source", NULL, NULL)
944  遍历可用CPU(cpu)
945  memset( & per_cpu(mces_seen, cpu), 0, sizeof(structmce))
调用者
名称描述
mce_endSynchronize between CPUs after main scanning loop.* This invokes the bulk of the Monarch processing.