函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\srcutiny.c Create Date:2022-07-27 11:19:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Removes the count for the old reader from the appropriate element of* the srcu_struct.

函数原型:void __srcu_read_unlock(struct srcu_struct *ssp, int idx)

返回类型:void

参数:

类型参数名称
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  如果非newvalREAD_ONCE( GP waiting for readers? )则swake_up_one( & srcu_wq)