Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static void rcu_eqs_exit(bool user)

Type:void

Parameter:

TypeParameterName
booluser
737  lockdep_assert_irqs_disabled()
738  rdp = this_cpu_ptr( & rcu_data)
739  oldval = Track process nesting level.
740  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) && oldval < 0)
741  If oldval Then
742  Track process nesting level. ++
743  Return
745  rcu_dynticks_task_exit()
746  Record exit from an extended quiescent state. This is only to be* called from an extended quiescent state.
747  rcu_cleanup_after_idle()
748  Tracepoint for dyntick-idle entry/exit events
749  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) && !user && !s_idle_task - is the specified task an idle task?*@p: the task in question.* Return: 1 if @p is an idle task. 0 otherwise.)
750  WRITE_ONCE(Track process nesting level. , 1)
751  WARN_ON_ONCE(Track irq/NMI nesting level. )
752  WRITE_ONCE(Track irq/NMI nesting level. , Offset to allow distinguishing irq vs. task-based idle entry/exit. )
Caller
NameDescribe
rcu_idle_exit_idle_exit - inform RCU that current CPU is leaving idle* Exit idle mode, in other words, -enter- the mode in which RCU* read-side critical sections can occur.* If you add or remove a call to rcu_idle_exit(), be sure to test with* CONFIG_RCU_EQS_DEBUG=y.