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:Similar to rcu_accelerate_cbs(), but does not require that the leaf* rcu_node structure's ->lock be held

Proto:static void rcu_accelerate_cbs_unlocked(struct rcu_node *rnp, struct rcu_data *rdp)

Type:void

Parameter:

TypeParameterName
struct rcu_node *rnp
struct rcu_data *rdp
1326  rcu_lockdep_assert_cblist_protected(rdp)
1327  c = _seq_snap - Take a snapshot of the update side's sequence number.* This function returns the earliest value of the grace-period sequence number* that will indicate that a full grace period has elapsed since the current* time
1328  If Not Possible ->gp_seq wrap. && ULONG_CMP_GE(Track furthest future GP request. , c) Then
1330  "Accelerate" callbacks based on more-accurate grace-period information
1331  Return
1333  Wrappers for the rcu_node::lock acquire and release(rnp)
1334  needwake = If there is room, assign a ->gp_seq number to any callbacks on this* CPU that have not already been assigned
1335  raw_spin_unlock_rcu_node(rnp)
1336  If needwake Then Awaken the grace-period kthread
Caller
NameDescribe
rcu_corePerform RCU core processing work for the current CPU.
__call_rcu_coreHandle any core-RCU processing required by a call_rcu() invocation.