sbitmap_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– sbitmap_free(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” yes we're literally in the kernel now, keep up 🫢


✨ NAME ✨

sbitmap_free β€” frees the memory used by a &struct sbitmap, no cap, that's the whole job πŸ’…


🌸 SYNOPSIS 🌸

void sbitmap_free (struct sbitmap *sb );

like… that's it. one function. one pointer. she's simple and she slays ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • sb β€” the bitmap you're freeing. that's the one. hand her over πŸ‘‘ (technically: Bitmap to free.)

πŸ¦‹ SEE ALSO πŸ¦‹

so this function has a whole friend group and honestly the guest list is enormous, but every single one of them gets an invite, periodt:


πŸ’€ reminder bestie: this is the free one. if you're still holding onto anything from that bitmap after this, that's on you and it's giving use-after-free energy. free her once and then let her rest πŸ™ˆ

and that's the whole vibe check, i love this for us 🧚

this little masterpiece lives in ./include/linux, dropped October 2026, and it's filed under sbitmap_free(9) β€” mwah, bye bestie, go free some memory πŸ’œπŸ“

πŸ“¦ where this page comes from