sbitmap_queue_clear(9)
π 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 actualstruct sbitmap_queuein 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:
struct sbitmap_word(9)struct sbitmap(9)struct sbq_wait_state(9)struct sbitmap_queue(9)sbitmap_init_node(9)sbitmap_free(9)sbitmap_resize(9)sbitmap_get(9)sbitmap_any_bit_set(9)__sbitmap_for_each_set(9)sbitmap_for_each_set(9)sbitmap_show(9)sbitmap_weight(9)sbitmap_bitmap_show(9)sbitmap_queue_init_node(9)sbitmap_queue_free(9)sbitmap_queue_recalculate_wake_batch(9)sbitmap_queue_resize(9)__sbitmap_queue_get(9)__sbitmap_queue_get_batch(9)sbitmap_queue_get_shallow(9)sbitmap_queue_get(9)sbitmap_queue_min_shallow_depth(9)sbitmap_queue_clear_batch(9)sbq_wait_ptr(9)sbitmap_queue_wake_all(9)sbitmap_queue_wake_up(9)sbitmap_queue_show(9)
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
- 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