queued_fetch...ding_acquire(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… queued_fetch...ding_acquire(9) πŸ’…

okay so this is a page from the Kernel API Manual (yes that's the manual name, we stan a classic) and bestie, it's a short one but it's mighty. let's get into it 🫢


✨ NAME ✨

queued_fetch_set_pending_acquire β€” fetch the whole lock value and set pending

like, the whole entire value. not a little piece. the whole thing. and then it sets pending too. multitasking queen πŸ‘‘


🌸 SYNOPSIS 🌸

u32 queued_fetch_set_pending_acquire (struct qspinlock *lock );

that's it. that's the whole signature. u32 going in, u32 coming back out, one pointer in the middle. iconic minimalism πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • lock β€” Pointer to queued spinlock structure

that's the vibe. you hand it a pointer to a queued spinlock structure and it does its thing. no cap πŸ”₯


⭐ RETURN ⭐

The previous lock value

so it gives you back what the lock value was before β€” the previous one, the original one, the one from before the whole fetch-and-set-pending situation happened. lowkey useful ngl πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

okay so here's the entire description, and I'm not even kidding, this is literally all of it:

*,*,* -> *,1,*

that's it bestie. that's the whole description. it's giving "the author was running out of time" energy 😭 but like, it is saying something: three whatever-they-ares turn into a star, a 1, and another star. the middle bit becomes 1. that's the whole character arc. we love a transformation arc ✨

ngl this is the most mysterious description I've ever read on a manpage and I'm kind of obsessed with it πŸ™ˆ

🧚 SEE ALSO 🧚

and yes, clear_pending(9) and clear_pending_set_locked(9) are each listed twice in here β€” that's not me being sloppy, that's canon, the original said it twice so I said it twice. consistency is a personality trait πŸ’œ


πŸ’€ tiny heads up bestie: the description being *,*,* -> *,1,* means there's genuinely not more to explain here. don't go inventing behaviour for it, okay? what's on the page is what's on the page. mwah 🫢

and that's the whole page!! short, sweet, and slightly cryptic, just how we like 'em 🌸 this came out of the source dir ./kernel/locking, dated October 2026, and the header and footer both spell the name queued_fetch...ding_acquire(9) with the little ... in the middle, so if you're grepping for it, use the truncated form 😘 periodt πŸ’–

πŸ“¦ where this page comes from