函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static void rcu_eqs_enter(bool user)

返回类型:void

参数:

类型参数名称
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  如果Track process nesting level. 不等于1则
575  Track process nesting level. 自减
576  返回
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 && !是空闲任务)
582  rdp等于this_cpu_ptr( & rcu_data)
583  do_nocb_deferred_wakeup(rdp)
584  rcu_prepare_for_idle()
585  rcu_preempt_deferred_qs(当前进程)
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()
调用者
名称描述
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