Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rwsem_optimistic_spin

Proto:static inline bool rwsem_optimistic_spin(struct rw_semaphore *sem, bool wlock)

Type:bool

Parameter:

TypeParameterName
struct rw_semaphore *sem
boolwlock
972  Return false
Caller
NameDescribe
rwsem_down_read_slowpathWait for the read lock to be granted
rwsem_down_write_slowpathWait until we successfully acquire the write lock