Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\tree.c Create Date:2022-07-28 10:25:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static __always_inline void rcu_nmi_exit_common(bool irq)

Type:void

Parameter:

TypeParameterName
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  If Track irq/NMI nesting level. != 1 Then
653  Tracepoint for dyntick-idle entry/exit events
655  WRITE_ONCE(Track irq/NMI nesting level. , Track irq/NMI nesting level. - 2)
657  Return
661  Tracepoint for dyntick-idle entry/exit events
662  WRITE_ONCE(Track irq/NMI nesting level. , 0)
664  If irq Then rcu_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  If irq Then rcu_dynticks_task_enter()
Caller
NameDescribe
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