Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_sync_exit() - Allow readers back onto fast path after grace period*@rsp: Pointer to rcu_sync structure to use for synchronization* This function is used by updaters who have completed, and can therefore* now allow readers to make use of their fastpaths

Proto:void rcu_sync_exit(struct rcu_sync *rsp)

Type:void

Parameter:

TypeParameterName
struct rcu_sync *rsp
170  WARN_ON_ONCE(READ_ONCE(gp_state) == GP_IDLE)
171  WARN_ON_ONCE(READ_ONCE(gp_count) == 0)
173  spin_lock_irq( & rss_lock)
174  If Not --gp_count Then
175  If gp_state == GP_PASSED Then
178  Else if gp_state == GP_EXIT Then
182  spin_unlock_irq( & rss_lock)