函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static __always_inline void rcu_nmi_exit_common(bool irq)

返回类型:void

参数:

类型参数名称
boolirq
638  rdp等于this_cpu_ptr( & rcu_data)
645  WARN_ON_ONCE(Track irq/NMI nesting level. <= 0)
646  WARN_ON_ONCE(Is the current CPU in an extended quiescent state?* No ordering, as we are sampling CPU-local information.)
652  如果Track irq/NMI nesting level. 不等于1则
653  Tracepoint for dyntick-idle entry/exit events
655  WRITE_ONCE(Track irq/NMI nesting level. , Track irq/NMI nesting level. - 2)
657  返回
661  Tracepoint for dyntick-idle entry/exit events
662  WRITE_ONCE(Track irq/NMI nesting level. , 0)
664  如果irqrcu_prepare_for_idle()
667  Record entry into an extended quiescent state. This is only to be* called when not already in an extended quiescent state.
669  如果irqrcu_dynticks_task_enter()
调用者
名称描述
rcu_nmi_exit_nmi_exit - inform RCU of exit from NMI context* If you add or remove a call to rcu_nmi_exit(), be sure to test* with CONFIG_RCU_EQS_DEBUG=y.
rcu_irq_exit_irq_exit - inform RCU that current CPU is exiting irq towards idle* Exit from an interrupt handler, which might possibly result in entering* idle mode, in other words, leaving the mode in which read-side critical* sections can occur