sbitmap_queue_clear(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

okay so bestie, welcome to the Kernel API Manual β€” this one is sbitmap_queue_clear, and it does exactly one iconic thing: frees an allocated bit and wakes up the waiters on a &struct sbitmap_queue. that's the whole vibe. give the bit back, tell the sleepy little waiters to rise and shine ✨


πŸ¦‹ SYNOPSIS

void sbitmap_queue_clear (struct sbitmap_queue *sbq , unsigned int nr ,
       unsigned int cpu );

no cap, that's the whole signature. three args, zero drama 🫢


πŸŽ€ ARGUMENTS

  • sbq β€” the bitmap you're freein' from. the actual struct sbitmap_queue in question πŸ’–
  • nr β€” the bit number to free. like, which bit, bestie 🌸
  • cpu β€” the CPU the bit was allocated on. gotta say where it came from, iykyk πŸ‘‘

πŸ”₯ SEE ALSO

the whole friend group, fr fr β€” all of these live in the kernel file ./include/linux/sbitmap.h:


lowkey read your own manpage before you clear a bit, bestie β€” that's the self-care πŸ’…

and that's the post! this page came straight out of ./include/linux, dated October 2026, and it's still serving sbitmap_queue_clear(9) realness. mwah, go free some bits, love u, bye πŸ§šπŸ’œπŸŒˆ

πŸ“¦ where this page comes from