函数逻辑报告

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:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Synchronize between CPUs after main scanning loop.* This invokes the bulk of the Monarch processing.

函数原型:static int mce_end(int order)

返回类型:int

参数:

类型参数名称
intorder
1026  ret等于负1
1027  timeout等于monarch_timeoutNSEC_PER_USEC
1029  如果非timeout则转到:reset
1031  如果order小于0则转到:reset
1037  atomic_inc( & Variable to establish order between CPUs while scanning.* Each CPU spins initially until executing is equal its number.)
1039  如果order恒等于1则
1041  cpus等于num_online_cpus()
1054  The Monarch's reign
1055  The "volatile" is due to gcc bugs ()
1056  ret等于0
1057  否则
1071  返回:0
1077  reset :
1078  atomic_set( & global_nwo, 0)
1079  atomic_set( & Defines order of CPUs on entry. First CPU becomes Monarch., 0)
1080  The "volatile" is due to gcc bugs ()
1085  atomic_set( & Variable to establish order between CPUs while scanning.* Each CPU spins initially until executing is equal its number., 0)
1086  返回:ret
调用者
名称描述
do_machine_checkThe actual machine check handler. This only handles real* exceptions when something got corrupted coming in through int 18.* This is executed in NMI context not subject to normal locking rules. This* implies that most kernel services cannot be safely used