__rt_mutex_futex_unlock(9)
π NAME π
Hey bestie! Welcome to the __rt_mutex_futex_unlock(9) page from the Kernel API Manual β¨. This is the futex variant β and since futex variants do not use the fast-path, it can be simple and will not need to retry. Periodt. π
β¨ SYNOPSIS β¨
bool __rt_mutex_futex_unlock (struct rt_mutex_base *lock , struct
rt_wake_q_head *wqh );
π ARGUMENTS π
lockβ thert_mutexto be unlocked π. That's the one getting its freedom, bestie.wqhβ the wake queue head from which to get the next lock waiter πΈ. Think of it as the little queue where the next sleepy waiter is hanging out, iykyk.
π¦ SEE ALSO π¦
Okay so if you're going down the rt_mutex rabbit hole, here's the whole squad π«Ά:
- Kernel file:
./kernel/locking/rtmutex_api.c rt_mutex_lock_nested(9)rt_mutex_lock(9)rt_mutex_lock_interruptible(9)rt_mutex_lock_killable(9)rt_mutex_trylock(9)rt_mutex_unlock(9)__rt_mutex_init(9)rt_mutex_init_proxy_locked(9)rt_mutex_proxy_unlock(9)__rt_mutex_start_proxy_lock(9)rt_mutex_start_proxy_lock(9)rt_mutex_wait_proxy_lock(9)rt_mutex_cleanup_proxy_lock(9)
xoxo, your kernel bestie π
β¨ β source/version: ./kernel/locking, date: October 2026, page: __rt_mutex_futex_unlock(9). No cap, that's the whole page π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms