requeue_futex(9)
okay so bestie, we're opening requeue_futex(9) from the Kernel API Manual, and no cap this little function is lowkey iconic. π
β¨
β¨ NAME β¨
requeue_futex β Requeue a futex_q from one hb to another.
π¦ SYNOPSIS π¦
Here's the exact signature, bestie β do not freestyle it:
void requeue_futex (struct futex_q *q , struct futex_hash_bucket *hb1 ,
struct futex_hash_bucket *hb2 , union futex_key *key2 );
π ARGUMENTS π
qβ thefutex_qto requeue. the one getting requeued, periodt.hb1β the sourcehash_bucket. where it's coming from, iykyk.hb2β the targethash_bucket. where it's headed, slay.key2β the new key for the requeuedfutex_q. fresh key, fresh vibe.
π SEE ALSO π
If you're in your research era, start with the kernel file ./kernel/futex/requeue.c, then peek at these icons:
requeue_pi_wake_futex(9)futex_proxy_trylock_atomic(9)futex_requeue(9)handle_early_requeue_pi_wakeup(9)futex_wait_requeue_pi(9)
mwah π catch you in the kernel, bestie β this page's source/version is ./kernel/futex, and the date is October 2026. π«Άπ
π¦ 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