Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:note_gp_changes

Proto:static void note_gp_changes(struct rcu_data *rdp)

Type:void

Parameter:

TypeParameterName
struct rcu_data *rdp
1441  local_irq_save(flags)
1442  rnp = This CPU's leaf of hierarchy
1443  If Track rsp->rcu_gp_seq counter. == Return the current value the update side's sequence number, no ordering. && Not Value for the false possibility is greater at compile time(READ_ONCE(Possible ->gp_seq wrap. )) || Not raw_spin_trylock_rcu_node(rnp) Then
1446  local_irq_restore(flags)
1447  Return
1449  needwake = Update CPU-local rcu_data state to record the beginnings and ends of* grace periods. The caller must hold the ->lock of the leaf rcu_node* structure corresponding to the current CPU, and must have irqs disabled.
1450  raw_spin_unlock_irqrestore_rcu_node(rnp, flags)
1451  If needwake Then Awaken the grace-period kthread
Caller
NameDescribe
rcu_check_quiescent_stateCheck to see if there is a new grace period of which this CPU* is not yet aware, and if so, set up local rcu_data state for it.* Otherwise, see if this CPU has just passed through its first
__call_rcu_coreHandle any core-RCU processing required by a call_rcu() invocation.