函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Similar to rcu_accelerate_cbs(), but does not require that the leaf* rcu_node structure's ->lock be held

函数原型:static void rcu_accelerate_cbs_unlocked(struct rcu_node *rnp, struct rcu_data *rdp)

返回类型:void

参数:

类型参数名称
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  如果非Possible ->gp_seq wrap. ULONG_CMP_GE(Track furthest future GP request. , c)则
1330  "Accelerate" callbacks based on more-accurate grace-period information
1331  返回
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  如果needwakeAwaken the grace-period kthread
调用者
名称描述
rcu_corePerform RCU core processing work for the current CPU.
__call_rcu_coreHandle any core-RCU processing required by a call_rcu() invocation.