Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:bool rcu_eqs_special_set(int cpu)

Type:bool

Parameter:

TypeParameterName
intcpu
345  rdp = per_cpu(rcu_data, cpu)
347  Do
348  old = atomic_read( & Even value for idle, else odd. )
349  If old & RCU_DYNTICK_CTRL_CTR Then Return false
351  new = old | Steal a bit from the bottom of ->dynticks for idle entry/exit* control. Initially this is for TLB flushing.
352  When atomic_cmpxchg( & Even value for idle, else odd. , old, new) != old cycle
353  Return true