Function report | 
Source Code:arch\x86\kernel\cpu\mce\intel.c | 
Create Date:2022-07-28 08:02:31 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:cmci_storm_detect
Proto:static bool cmci_storm_detect(void)
Type:bool
Parameter:Nothing
| 217 | cnt = Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(cmci_storm_cnt) | 
| 218 | ts = Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(cmci_time_stamp) | 
| 222 | If Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(cmci_storm_state) != CMCI_STORM_NONE Then Return true | 
| 225 | If time_before_eq(now, ts + CMCI_STORM_INTERVAL) Then | 
| 226 | cnt++ | 
| 227 | Else | 
| 228 | cnt = 1 | 
| 233 | If cnt <= CMCI_STORM_THRESHOLD Then Return false | 
| 236 | cmci_toggle_interrupt_mode(false) | 
| 238 | r = atomic_add_return(1, & cmci_storm_on_cpus) | 
| 244 | Return true | 
| Name | Describe | 
|---|---|
| intel_threshold_interrupt | The interrupt handler. This is called on every event.* Just call the poller directly to log any events.* This could in theory increase the threshold under high load,* but doesn't for now. | 
| 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  |