Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\core.c Create Date:2022-07-28 08:00:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Synchronize between CPUs after main scanning loop.* This invokes the bulk of the Monarch processing.

Proto:static int mce_end(int order)

Type:int

Parameter:

TypeParameterName
intorder
1026  ret = -1
1027  timeout = monarch_timeout * NSEC_PER_USEC
1029  If Not timeout Then Go to reset
1031  If order < 0 Then Go to reset
1037  atomic_inc( & Variable to establish order between CPUs while scanning.* Each CPU spins initially until executing is equal its number.)
1039  If order == 1 Then
1041  cpus = num_online_cpus()
1054  The Monarch's reign
1055  The "volatile" is due to gcc bugs ()
1056  ret = 0
1057  Else
1071  Return 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  Return ret
Caller
NameDescribe
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