Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Move any callbacks whose grace period has completed to the* RCU_DONE_TAIL sublist, then compact the remaining sublists and* assign ->gp_seq numbers to any callbacks in the RCU_NEXT_TAIL* sublist. This function is idempotent, so it does not hurt to

Proto:static bool rcu_advance_cbs(struct rcu_node *rnp, struct rcu_data *rdp)

Type:bool

Parameter:

TypeParameterName
struct rcu_node *rnp
struct rcu_data *rdp
1352  rcu_lockdep_assert_cblist_protected(rdp)
1353  raw_lockdep_assert_held_rcu_node(rnp)
1356  If Not Does the specified rcu_segcblist structure contain callbacks that* are still pending, that is, not yet ready to be invoked? Then Return false
1363  Advance the callbacks in the specified rcu_segcblist structure based* on the current value passed in for the grace-period counter.
1366  Return If there is room, assign a ->gp_seq number to any callbacks on this* CPU that have not already been assigned
Caller
NameDescribe
rcu_advance_cbs_nowakeMove and classify callbacks, but only if doing so won't require* that the RCU grace-period kthread be awakened.
__note_gp_changesUpdate CPU-local rcu_data state to record the beginnings and ends of* grace periods. The caller must hold the ->lock of the leaf rcu_node* structure corresponding to the current CPU, and must have irqs disabled.