free_bootmem_cpumask_var(9)
π free_bootmem_cpumask_var(9) π
okay bestie, so we're in the Kernel API Manual today and the star of the show is free_bootmem_cpumask_var β yes that's a whole mouthful, iykyk, but it's literally just the cleanup girlie for alloc_bootmem_cpumask_var. she gives back what her sister took. iconic behaviour honestly π
β¨ NAME β¨
free_bootmem_cpumask_var β frees the result of alloc_bootmem_cpumask_var π¦
like, you allocated it in bootmem, now you're done, so you free it. balanced. symmetrical. main character energy fr fr π
πΈ SYNOPSIS πΈ
void free_bootmem_cpumask_var (cpumask_var_t mask );
that's it. one function, one argument, no drama β¨
π ARGUMENTS π
maskβ the cpumask you're freeing π«Ά literally the cpumask to free, that's the whole vibe
π¦ SEE ALSO π¦
so if you wanna go down the rabbit hole (and honestly? you should, it's giving lore), check these out π
- Kernel file
./lib/cpumask.cβ the source file this all lives in, go read it, it's right there π alloc_cpumask_var_node(9)alloc_bootmem_cpumask_var(9)β the alloc counterpart, the origin story, the prequel πfree_cpumask_var(9)cpumask_local_spread(9)cpumask_any_and_distribute(9)cpumask_any_distribute(9)
no cap, that's the whole list. every single one. I would never gatekeep a SEE ALSO from you π
and that's the page!! π from the ./lib corner of the tree, October 2026 edition β slay, bye, go free your cpumasks responsibly bestie πβ¨π
π¦ 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