函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:int rcu_dynticks_snap(struct rcu_data *rdp)

返回类型:int

参数:

类型参数名称
struct rcu_data *rdp
310  snap等于atomic_add_return(0, & Even value for idle, else odd. )
312  返回:snap按位与Steal a bit from the bottom of ->dynticks for idle entry/exit* control. Initially this is for TLB flushing.的反
调用者
名称描述
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.
print_cpu_stall_infoPrint out diagnostic information for the specified stalled CPU.* If the specified CPU is aware of the current RCU grace period, then* print the number of scheduling clock interrupts the CPU has taken* during the time that it has been aware
sync_rcu_exp_select_node_cpusSelect the CPUs within the specified rcu_node that the upcoming* expedited grace period needs to wait for.