Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Removes the count for the old reader from the appropriate element of* the srcu_struct.

Proto:void __srcu_read_unlock(struct srcu_struct *ssp, int idx)

Type:void

Parameter:

TypeParameterName
struct srcu_struct *ssp
intidx
96  newval = srcu_read_lock() nesting depth. [idx] - 1
98  WRITE_ONCE( srcu_read_lock() nesting depth. [idx], newval)
99  If Not newval && READ_ONCE( GP waiting for readers? ) Then swake_up_one( & srcu_wq)