Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\tree.c Create Date:2022-07-28 10:25:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_is_cpu_rrupt_from_idle - see if interrupted from idle* If the current CPU is idle and running at a first-level (not nested)* interrupt from idle, return true. The caller must have at least* disabled preemption.

Proto:static int rcu_is_cpu_rrupt_from_idle(void)

Type:int

Parameter:Nothing

390  lockdep_assert_in_irq()
393  RCU_LOCKDEP_WARN(Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(dynticks_nesting) < 0, "RCU dynticks_nesting counter underflow!")
395  RCU_LOCKDEP_WARN(Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(dynticks_nmi_nesting) <= 0, "RCU dynticks_nmi_nesting counter underflow/zero!")
399  If Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(dynticks_nmi_nesting) != 1 Then Return false
403  Return Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(dynticks_nesting) == 0
Caller
NameDescribe
rcu_sched_clock_irqThis function is invoked from each scheduling-clock interrupt,* and checks to see if this CPU is in a non-context-switch quiescent* state, for example, user mode or idle loop. It also schedules RCU* core processing
rcu_pending