函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\tree.c Create Date:2022-07-27 11:25:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_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.

函数原型:static int rcu_is_cpu_rrupt_from_idle(void)

返回类型:int

参数:

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  如果Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(dynticks_nmi_nesting)不等于1则返回:false
403  返回:Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(dynticks_nesting)恒等于0
调用者
名称描述
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
rcu_exp_handlerSPDX-License-Identifier: GPL-2.0+
rcu_flavor_sched_clock_irqCheck to see if this CPU is in a non-context-switch quiescent state,* namely user mode and idle loop.