函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Is the current CPU in an extended quiescent state?* No ordering, as we are sampling CPU-local information.

函数原型:bool rcu_dynticks_curr_cpu_in_eqs(void)

返回类型:bool

参数:

299  rdp等于this_cpu_ptr( & rcu_data)
301  返回:非atomic_read( & Even value for idle, else odd. )按位与RCU_DYNTICK_CTRL_CTR的值
调用者
名称描述
rcu_nmi_exit_commonIf we are returning from the outermost NMI handler that interrupted an* RCU-idle period, update rdp->dynticks and rdp->dynticks_nmi_nesting* to let the RCU grace-period handling know that the CPU is back to* being RCU-idle
rcu_nmi_enter_common_nmi_enter_common - inform RCU of entry to NMI context*@irq: Is this call from rcu_irq_enter?* If the CPU was idle from RCU's viewpoint, update rdp->dynticks and* rdp->dynticks_nmi_nesting to let the RCU grace-period handling know* that the CPU is active
rcu_is_watching_is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sections