函数逻辑报告

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

函数名称:Reset the ->expmask values in the rcu_node tree in preparation for* a new expedited grace period.

函数原型:static void __maybe_unused sync_exp_reset_tree(void)

返回类型:void

参数:

133  Reset the ->expmaskinit values in the rcu_node tree to reflect any* recent CPU-online activity. Note that these masks are not cleared* when CPUs go offline, so they reflect the union of all CPUs that have* ever been online
134  rcu_for_each_node_breadth_first(rnp)
135  raw_spin_lock_irqsave_rcu_node(rnp, flags)
136  WARN_ON_ONCE(CPUs or groups that need to check in )
137  WRITE_ONCE(CPUs or groups that need to check in , complete. )
138  raw_spin_unlock_irqrestore_rcu_node(rnp, flags)
调用者
名称描述
sync_rcu_exp_select_cpusSelect the nodes that the upcoming expedited grace period needs* to wait for.