Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| int | order |
| 1026 | ret = -1 |
| 1027 | timeout = monarch_timeout * NSEC_PER_USEC |
| 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() |
| 1048 | If Check if a timeout waiting for other CPUs happened. Then Go to reset |
| 1054 | The Monarch's reign |
| 1056 | ret = 0 |
| 1057 | Else |
| 1077 | reset : |
| 1078 | atomic_set( & global_nwo, 0) |
| 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 |
| Name | Describe |
|---|---|
| do_machine_check | The 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |