函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Record exit from an extended quiescent state. This is only to be* called from an extended quiescent state.

函数原型:static void rcu_dynticks_eqs_exit(void)

返回类型:void

参数:

254  rdp等于this_cpu_ptr( & rcu_data)
262  seq等于atomic_add_return(RCU_DYNTICK_CTRL_CTR, & Even value for idle, else odd. )
263  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))
265  如果seq按位与Steal a bit from the bottom of ->dynticks for idle entry/exit* control. Initially this is for TLB flushing.
266  atomic_andnot(Steal a bit from the bottom of ->dynticks for idle entry/exit* control. Initially this is for TLB flushing., & Even value for idle, else odd. )
267  smp_mb__after_atomic()
269  rcu_eqs_special_exit()
调用者
名称描述
rcu_eqs_exitExit 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 DYNTICK_IRQ_NONIDLE to* allow for the possibility of usermode upcalls messing up our count of
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