futex_cmp_requeue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… futex_cmp_requeue(9) β€” bestie's guide to the Kernel API Manual

okay so picture this: you're deep in the futex cinematic universe (we love a franchise) and this little icon right here is the function that requeues tasks from uaddr to uaddr2. that's literally the whole vibe. move the sleepers, change the address, slay. πŸ’–

no because this is one of many futex pages, so if you're new here, hi, welcome, the manual name is Kernel API Manual and we're gonna get through this together. 🫢


✨ SYNOPSIS ✨

look at her. she's serving signature realness, spacing and all:

int futex_cmp_requeue (futex_t *uaddr , futex_t val , futex_t *uaddr2 ,
int nr_wake , int nr_requeue , int opflags );

returns an int, takes six things, we move. πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

okay so the parameter list is lowkey giving "half-finished group project" because some of these are literally -- undescribed -- in the original docs. not me making excuses for the kernel, i'm just the messenger. πŸ™ˆ the facts stay exactly as written:

  • uaddr β€” -- undescribed -- πŸ’€ (yes, really. that's the whole entry.)
  • val β€” -- undescribed -- 😭 (again. iconic of them tbh.)
  • uaddr2 β€” -- undescribed -- 🫠 (three for three, no notes.)
  • nr_wake β€” wake up to this many tasks 🌸 (a little wake-up party, capped at nr_wake guests)
  • nr_requeue β€” requeue up to this many tasks πŸ¦‹ (same energy but they're getting moved, not woken)
  • opflags β€” -- undescribed -- πŸ™ƒ (the fourth one. i know. i know.)
ngl bestie, if you came here for deep lore on uaddr, val, uaddr2 or opflags, the manpage is out of office. i'm not out here inventing behaviour β€” what you see is what the docs say, which is: nothing. periodt. ⭐

πŸ‘‘ SEE ALSO πŸ‘‘

the friend group!! go read these next, they all ate:

that's the whole roster, no cap. 🌈


πŸ’Œ sign-off

this page came to you from ./tools/testing/selftests/fute... (that's the source/version line, slightly truncated like a text message that got cut off mid-sentence πŸ’€) and it's dated October 2026, which is so far in the future it's basically main character energy. πŸŽ€

stay hydrated, read your futex(9) pages, and remember: if the docs say -- undescribed --, that's not a you problem. mwah. πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from