函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Set the special (bottom) bit of the specified CPU so that it* will take special action (such as flushing its TLB) on the* next exit from an extended quiescent state. Returns true if* the bit was successfully set, or false if the CPU was not in

函数原型:bool rcu_eqs_special_set(int cpu)

返回类型:bool

参数:

类型参数名称
intcpu
345  rdp等于per_cpu(rcu_data, cpu)
347  循环
348  old等于atomic_read( & Even value for idle, else odd. )
349  如果old按位与RCU_DYNTICK_CTRL_CTR则返回:false
351  new等于old按位或Steal a bit from the bottom of ->dynticks for idle entry/exit* control. Initially this is for TLB flushing.
352 atomic_cmpxchg( & Even value for idle, else odd. , old, new)不等于old循环
353  返回:true