Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static void rcu_eqs_enter(bool user)

Type:void

Parameter:

TypeParameterName
booluser
568  rdp = this_cpu_ptr( & rcu_data)
570  WARN_ON_ONCE(Track irq/NMI nesting level. != Offset to allow distinguishing irq vs. task-based idle entry/exit. )
571  WRITE_ONCE(Track irq/NMI nesting level. , 0)
572  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) && Track process nesting level. == 0)
574  If Track process nesting level. != 1 Then
575  Track process nesting level. --
576  Return
579  lockdep_assert_irqs_disabled()
580  Tracepoint for dyntick-idle entry/exit events
581  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.)
582  rdp = this_cpu_ptr( & rcu_data)
583  do_nocb_deferred_wakeup(rdp)
584  rcu_prepare_for_idle()
585  rcu_preempt_deferred_qs(current process)
586  WRITE_ONCE(Track process nesting level. , 0)
587  Record entry into an extended quiescent state. This is only to be* called when not already in an extended quiescent state.
588  rcu_dynticks_task_enter()
Caller
NameDescribe
rcu_idle_enter_idle_enter - inform RCU that current CPU is entering idle* Enter idle mode, in other words, -leave- the mode in which RCU* read-side critical sections can occur. (Though RCU read-side* critical sections can occur in irq handlers in idle, a possibility