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_can_spin_on_owner

Proto:static inline bool rwsem_can_spin_on_owner(struct rw_semaphore *sem, unsigned long nonspinnable)

Type:bool

Parameter:

TypeParameterName
struct rw_semaphore *sem
unsigned longnonspinnable
967  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