Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcu.h Create Date:2022-07-28 10:17:32
Last Modify:2022-05-19 07:39:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Has a grace period started since the time the old gp_seq was collected?

Proto:static inline bool rcu_seq_new_gp(unsigned long old, unsigned long new)

Type:bool

Parameter:

TypeParameterName
unsigned longold
unsigned longnew
133  Return ULONG_CMP_LT((old + RCU_SEQ_STATE_MASK) & ~RCU_SEQ_STATE_MASK, new)
Caller
NameDescribe
__note_gp_changesUpdate 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.