函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Record entry into an extended quiescent state. This is only to be* called when not already in an extended quiescent state.

函数原型:static void rcu_dynticks_eqs_enter(void)

返回类型:void

参数:

231  rdp等于this_cpu_ptr( & rcu_data)
239  seq等于atomic_add_return(RCU_DYNTICK_CTRL_CTR, & Even value for idle, else odd. )
241  WARN_ON_ONCE(IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_RCU_EQS_DEBUG) && (seq & RCU_DYNTICK_CTRL_CTR))
244  WARN_ON_ONCE(IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_RCU_EQS_DEBUG) && (seq & Steal a bit from the bottom of ->dynticks for idle entry/exit* control. Initially this is for TLB flushing.))
调用者
名称描述
rcu_eqs_enterEnter an RCU extended quiescent state, which can be either the* idle loop or adaptive-tickless usermode execution.* We crowbar the ->dynticks_nmi_nesting field to zero to allow for* the possibility of usermode upcalls having messed up our count
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