Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Futex variant, that since futex variants do not use the fast-path, can be* simple and will not need to retry.

Proto:bool __sched __rt_mutex_futex_unlock(struct rt_mutex *lock, struct wake_q_head *wake_q)

Type:bool

Parameter:

TypeParameterName
struct rt_mutex *lock
struct wake_q_head *wake_q
1615  lockdep_assert_held( & wait_lock)
1617  debug_rt_mutex_unlock(lock)
1619  If Not rt_mutex_has_waiters(lock) Then
1620  owner = NULL
1621  Return false
1630  Remove the top waiter from the current tasks pi waiter tree and* queue it up.* Called with lock->wait_lock held and interrupts disabled.
1632  Return true
Caller
NameDescribe
rt_mutex_futex_unlock
wake_futex_piCaller must hold a reference on @pi_state.