函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:srcu_reschedule

函数原型:static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay)

返回类型:void

参数:

类型参数名称
struct srcu_struct *ssp
unsigned longdelay
1211  bool pushgp = true
1213  spin_lock_irq_rcu_node(ssp)
1214  如果ULONG_CMP_GE(srcu_gp_seq, srcu_gp_seq_needed)则
1217  pushgp = false
1219  否则如果非Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current().
1221  Start an SRCU grace period.
1223  spin_unlock_irq_rcu_node(ssp)
1225  如果pushgp启动延迟工作队列
调用者
名称描述
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
process_srcu