Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mce_adjust_timer_default

Proto:unsigned long mce_adjust_timer_default(unsigned long interval)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longinterval
177  If Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(CMCI storm detection backoff counter* During storm, we reset this counter to INITIAL_CHECK_INTERVAL in case we've* encountered an error. If not, we decrement it by one. We signal the end of* the CMCI storm when it reaches 0.) > 0 && Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(cmci_storm_state) == CMCI_STORM_ACTIVE Then
179  Notify the user(s) about new machine check events.* Can be called from interrupt context, but not from machine check/NMI* context.
180  Return CMCI_STORM_INTERVAL
192  If Not atomic_sub_return(1, & cmci_storm_on_cpus) Then pr_notice("CMCI storm subsided: switching to interrupt mode\n")
202  If Not atomic_read( & cmci_storm_on_cpus) Then
207  Return CMCI_POLL_INTERVAL
208  Default
211  Return interval