Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\nmi.c Create Date:2022-07-28 07:35:10
Last Modify:2022-05-22 06:29:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:nmi_check_duration

Proto:static void nmi_check_duration(struct nmiaction *action, u64 duration)

Type:void

Parameter:

TypeParameterName
struct nmiaction *action
u64duration
109  whole_msecs = READ_ONCE(max_duration)
112  If duration < nmi_longest_ns || duration < max_duration Then Return
115  max_duration = duration
117  remainder_ns = do_div() is NOT a C function(whole_msecs, (1000 * 1000))
118  decimal_msecs = remainder_ns / 1000
120  atelimited messages with local ratelimit_state,* no local ratelimit_state used in the !PRINTK case(formational "INFO: NMI handler (%ps) took too long to run: %lld.%03d msecs\n", handler, whole_msecs, decimal_msecs)
Caller
NameDescribe
nmi_handle