函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return non-zero if there is no RCU expedited grace period in progress* for the specified rcu_node structure, in other words, if all CPUs and* tasks covered by the specified rcu_node structure have done their bit* for the current expedited grace period

函数原型:static bool sync_rcu_preempt_exp_done(struct rcu_node *rnp)

返回类型:bool

参数:

类型参数名称
struct rcu_node *rnp
153  raw_lockdep_assert_held_rcu_node(rnp)
155  返回:s no such task. 恒等于NULLREAD_ONCE(CPUs or groups that need to check in )恒等于0
调用者
名称描述
sync_rcu_preempt_exp_done_unlockedLike sync_rcu_preempt_exp_done(), but this function assumes the caller* doesn't hold the rcu_node's ->lock, and will acquire and release the lock* itself
__rcu_report_exp_rnpReport the exit from RCU read-side critical section for the last task* that queued itself during or before the current expedited preemptible-RCU* grace period