free_cpumask_var(9)
okay bestie, welcome to free_cpumask_var(9) from the Kernel API Manual β we are literally about to free a struct cpumask and look cute doing it π
β¨
π NAME π
free_cpumask_varβ frees memory allocated for astruct cpumask. periodt.
β¨ SYNOPSIS β¨
void free_cpumask_var (cpumask_var_t mask );
π«Ά ARGUMENTS π«Ά
maskβ the cpumask to free, bestie. that's the whole assignment π
π DESCRIPTION π
okay so the icon behavior: this is safe on a NULL mask π«Άβ¨ no cap, literally safe. the way that's the entire description and it still ate π
π SEE ALSO π
the kernel file ./lib/cpumask.c is the source haunt, and these linked-up besties are also in the group chat:
alloc_cpumask_var_node(9)alloc_bootmem_cpumask_var(9)free_bootmem_cpumask_var(9)cpumask_local_spread(9)cpumask_any_and_distribute(9)cpumask_any_distribute(9)
xoxo, from the ./lib corner of the Kernel API Manual, dated October 2026 β free_cpumask_var(9) out π
π
π¦ 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