Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\seqlock.h Create Date:2022-07-28 05:35:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:aw_write_seqcount_barrier - do a seq write barrier*@s: pointer to seqcount_t* This can be used to provide an ordering guarantee instead of the* usual consistency guarantee

Proto:static inline void raw_write_seqcount_barrier(seqcount_t *s)

Type:void

Parameter:

TypeParameterName
seqcount_t *s
274  sequence++
275  smp_wmb()
276  sequence++
Caller
NameDescribe
__run_hrtimerThe write_seqcount_barrier()s in __run_hrtimer() split the thing into 3* distinct sections:* - queued: the timer is queued* - callback: the timer is being ran* - post: the timer is inactive or (re)queued* On the read side we ensure we observe timer->state