Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rt_mutex_fastunlock

Proto:static inline void rt_mutex_fastunlock(struct rt_mutex *lock, bool (*slowfn)(struct rt_mutex *lock, struct wake_q_head *wqh))

Type:void

Parameter:

TypeParameterName
struct rt_mutex *lock
bool (*slowfn
1460  If Value is more likely to compile time(rt_mutex_cmpxchg_release(lock, current process, NULL)) Then Return
1463  If slowfn(lock, & wake_q) Then Performs the wakeup of the the top-waiter and re-enables preemption.
Caller
NameDescribe
rt_mutex_unlock_mutex_unlock - unlock a rt_mutex*@lock: the rt_mutex to be unlocked