STRUCT PADATA_SHELL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual entry for struct padata_shell(9) β€” yes, that exact page, and it's lowkey iconic πŸ’…βœ¨

✨ NAME ✨

struct padata_shell β€” it's a wrapper around struct parallel_data, and its whole purpose is to let the underlying control structure be replaced on the fly using RCU. That's the vibe, fr fr πŸ¦‹


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the exact shape of it, no cap:

       struct padata_shell {
           struct padata_instance          *pinst;
           struct parallel_data *pd;
           struct parallel_data            *opd;
           struct list_head                list;
        };

πŸ’… Members πŸ’…

  • pinst β€” padat instance. yep, padat, exactly like that bestie πŸ’€
  • pd β€” the actual parallel_data structure, which may be substituted on the fly ✨
  • opd β€” pointer to the old pd that's gonna get freed by padata_replace 🫢
  • list β€” list entry in the padata_instance list, periodt πŸŽ€

🌈 SEE ALSO 🌈

go read these too, bestie:

  • Kernel file ./include/linux/padata.h
  • struct padata_priv(9)
  • struct padata_list(9)
  • struct padata_serial_queue(9)
  • struct padata_cpumask(9)
  • struct parallel_data(9)
  • struct padata_mt_job(9)
  • struct padata_instance(9)

source/version: ./include/linux Β· date: October 2026 Β· struct padata_shell(9) β€” bye bestie, slay your kernel adventures πŸ’–πŸ‘‘

πŸ“¦ where this page comes from