wait_for_owner_exiting(9)
wait_for_owner_exiting(9)
okay bestie, welcome to the Kernel API Manual page for wait_for_owner_exiting β yes, the one literally about Block until the owner has exited. It's giving futex-exit main character energy, and we are keeping every single detail. π
πΈ NAME πΈ
wait_for_owner_exiting β Block until the owner has exited.
β¨ SYNOPSIS β¨
void wait_for_owner_exiting (int ret , struct task_struct *exiting );
π ARGUMENTS π
retβ owner's current futex lock status.exitingβ Pointer to the exiting task.
π DESCRIPTION π
Caller must hold a refcount on exiting.
fr fr, that's the rule. The caller must hold a refcount on exiting β no cap, no skipping it. π«Ά
π¦ SEE ALSO π¦
Kernel file ./kernel/futex/core.c:
__futex_hash(9)futex_setup_timer(9)get_futex_key(9)fault_in_user_writeable(9)futex_top_waiter(9)__futex_unqueue(9)futex_unqueue(9)futex_exit_recursive(9)
Big kisses from the ./kernel/futex source, dated October 2026 β stay refcounted, bestie. πβ¨
π¦ 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