函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

返回类型:void

参数:

类型参数名称
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  如果oldval
742  Track process nesting level. 自加
743  返回
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 && !是空闲任务)
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. )
调用者
名称描述
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.