padata_free(9)
π padata_free(9) π
okay so bestie, welcome to the Kernel API Manual β this one's padata_free, and it's giving tiny-but-iconic. three sections, zero fluff, we love a low-effort slay β¨
πΈ NAME πΈ
padata_free β free a padata instance. that's it. that's the whole vibe. it frees the thing. periodt π
π¦ SYNOPSIS π¦
void padata_free (struct padata_instance *pinst );
^^ literally the entire call. no return value (void, so don't go looking for one, she doesn't do that π), just hand her the pointer and she's done.
π ARGUMENTS π
pinstβ the padata instance to free π«Ά. like, the actualstruct padata_instance *you want gone. that's the whole assignment. no cap.
π SEE ALSO π
so if you wanna do the full lore deep-dive, the kernel file ./kernel/padata.c is right there, and the whole friend group is:
padata_do_parallel(9)padata_do_serial(9)padata_do_multithreaded(9)padata_set_cpumask(9)padata_alloc(9)padata_alloc_shell(9)padata_free_shell(9)
like, padata_alloc(9) is the one that makes the instance and padata_free is the one that lets it go β the circle of life, iykyk π. and yeah, padata_free_shell(9) is a whole different bestie, don't mix them up π.
fr fr reminder: this page came out of./kernelback in October 2026, and it's thepadata_free(9)entry in the Kernel API Manual. mwah, go free your instances responsibly ππ§ββοΈ
π¦ 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