wait_for_owner_exiting(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:


Big kisses from the ./kernel/futex source, dated October 2026 β€” stay refcounted, bestie. πŸ’–βœ¨

πŸ“¦ where this page comes from