Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rtmutex.c Create Date:2022-07-28 09:51:56
Last Modify:2020-03-17 14:26:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:clear_rt_mutex_waiters

Proto:static inline void clear_rt_mutex_waiters(struct rt_mutex *lock)

Type:void

Parameter:

TypeParameterName
struct rt_mutex *lock
65  owner = owner & ~lock->owner state tracking:
Caller
NameDescribe
unlock_rt_mutex_safeSafe fastpath aware unlock:* 1) Clear the waiters bit* 2) Drop lock->wait_lock* 3) Try to unlock the lock with cmpxchg