Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rcu_read_lock_sched_held

Proto:int rcu_read_lock_sched_held(void)

Type:int

Parameter:Nothing

120  If _read_lock_held_common() - might we be in RCU-sched read-side critical section?*@ret: Best guess answer if lockdep cannot be relied on* Returns true if lockdep must be ignored, in which case *ret contains* the best guess described below Then Return ret
122  Return lock_is_held( & rcu_sched_lock_map) || Not preemptible()
Caller
NameDescribe
rcu_torture_one_readDo one read-side critical section, returning false if there was* no data to read. Can be invoked both from process context and* from a timer handler.