STRUCT PADATA_CPUMASK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct padata_cpumask(9) ✨

okay so bestie, you know how the kernel manual has a whole pile of padata structs and you're like "wait what's this one do"? that's this page πŸ’– it's the struct padata_cpumask page from the Kernel API Manual, and it's honestly pretty chill β€” it's just the cpumasks for the parallel/serial workers. no cap.


🌸 NAME 🌸

struct padata_cpumask β€” literally just the cpumasks for the parallel/serial workers. that's the whole vibe. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

struct padata_cpumask {
    cpumask_var_t pcpu;
    cpumask_var_t cbcpu;
 };

look at her. two members. iconic. πŸ¦‹


πŸ’œ Members πŸ’œ

  • pcpu β€” the cpumask for the parallel workers. the girlies doing the parallel stuff.
  • cbcpu β€” the cpumask for the serial (callback) workers. yep, callback workers, that's the cb, it's giving sensible naming ngl.

πŸ”₯ SEE ALSO πŸ”₯

you're gonna want the rest of the squad too, they're all in the kernel file ./include/linux/padata.h:

  • struct padata_priv(9)
  • struct padata_list(9)
  • struct padata_serial_queue(9)
  • struct parallel_data(9)
  • struct padata_shell(9)
  • struct padata_mt_job(9)
  • struct padata_instance(9)

go read them, i'll wait 🫢


ok that's the whole page bestie, it's a short one and honestly it ate πŸ’€ no options, no flags, no danger, just two cpumasks being cute in ./include/linux.

source: ./include/linux Β· October 2026 Β· struct padata_cpumask(9) β€” mwah, love u, go read the other padata structs πŸŽ€βœ¨πŸ‘‘

πŸ“¦ where this page comes from