Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:srcu_reschedule

Proto:static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay)

Type:void

Parameter:

TypeParameterName
struct srcu_struct *ssp
unsigned longdelay
1211  bool pushgp = true
1213  spin_lock_irq_rcu_node(ssp)
1214  If ULONG_CMP_GE(srcu_gp_seq, srcu_gp_seq_needed) Then
1217  pushgp = false
1219  Else if Not Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current(). Then
1221  Start an SRCU grace period.
1223  spin_unlock_irq_rcu_node(ssp)
1225  If pushgp Then queue_delayed_work - queue work on a workqueue after delay*@wq: workqueue to use*@dwork: delayable work to queue*@delay: number of jiffies to wait before queueing* Equivalent to queue_delayed_work_on() but tries to use the local CPU.
Caller
NameDescribe
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