Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_mutex_proxy_unlock - release a lock on behalf of owner*@lock: the rt_mutex to be locked* No locking. Caller has to do serializing itself* Special API call for PI-futex support. This merrily cleans up the rtmutex* (debugging) state

Proto:void rt_mutex_proxy_unlock(struct rt_mutex *lock, struct task_struct *proxy_owner)

Type:void

Parameter:

TypeParameterName
struct rt_mutex *lock
struct task_struct *proxy_owner
1724  debug_rt_mutex_proxy_unlock(lock)
1725  lock->owner state tracking:* is used to keep track of the "lock has waiters" state
Caller
NameDescribe
put_pi_stateDrops a reference to the pi_state object and frees or caches it* when the last reference is gone.