Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return grace-period delay, zero if there are expedited grace* periods pending, SRCU_INTERVAL otherwise.

Proto:static unsigned long srcu_get_delay(struct srcu_struct *ssp)

Type:unsigned long

Parameter:

TypeParameterName
struct srcu_struct *ssp
357  If ULONG_CMP_LT(READ_ONCE(srcu_gp_seq), READ_ONCE(srcu_gp_seq_needed_exp)) Then Return 0
360  Return SRCU_INTERVAL
Caller
NameDescribe
cleanup_srcu_structleanup_srcu_struct - deconstruct a sleep-RCU structure*@ssp: structure to clean up.* Must invoke this after you are finished using a given srcu_struct that* was initialized via init_srcu_struct(), else you leak memory.
srcu_gp_endNote the end of an SRCU grace period. Initiates callback invocation* and starts a new grace period if needed.* The ->srcu_cb_mutex acquisition does not protect any data, but* instead prevents more than one grace period from starting while we
srcu_funnel_gp_startFunnel-locking scheme to scalably mediate many concurrent grace-period* requests
try_check_zeroWait until all readers counted by array index idx complete, but* loop an additional time if there is an expedited grace period pending.* The caller must ensure that ->srcu_idx is not changed while checking.
process_srcu