函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Schedule callback invocation for all srcu_data structures associated* with the specified srcu_node structure that have callbacks for the* just-completed grace period, the one corresponding to idx. If possible,

函数原型:static void srcu_schedule_cbs_snp(struct srcu_struct *ssp, struct srcu_node *snp, unsigned long mask, unsigned long delay)

返回类型:void

参数:

类型参数名称
struct srcu_struct *ssp
struct srcu_node *snp
unsigned longmask
unsigned longdelay
496 cpu小于等于grphi循环
497  如果非mask按位与1左移cpugrplo位的值则继续下一循环
499  Schedule callback invocation for the specified srcu_data structure,* if possible, on the corresponding CPU.
调用者
名称描述
srcu_gp_endNote the end of an SRCU grace period. Initiates callback invocation* and starts a new grace period if needed.* The ->srcu_cb_mutex acquisition does not protect any data, but* instead prevents more than one grace period from starting while we