Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Snapshot the ->dynticks counter with full ordering so as to allow* stable comparison of this counter with past and future snapshots.

Proto:int rcu_dynticks_snap(struct rcu_data *rdp)

Type:int

Parameter:

TypeParameterName
struct rcu_data *rdp
310  snap = atomic_add_return(0, & Even value for idle, else odd. )
312  Return snap & ~Steal a bit from the bottom of ->dynticks for idle entry/exit* control. Initially this is for TLB flushing.
Caller
NameDescribe
rcu_dynticks_in_eqs_sinceReturn true if the CPU corresponding to the specified rcu_data* structure has spent some time in an extended quiescent state since* rcu_dynticks_snap() returned the specified snapshot.
dyntick_save_progress_counterSnapshot the specified CPU's dynticks counter so that we can later* credit them with an implicit quiescent state. Return 1 if this CPU* is in dynticks idle mode, which is an extended quiescent state.
rcu_boot_init_percpu_dataDo boot-time initialization of a CPU's per-CPU RCU data.