padata_set_cpumask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… padata_set_cpumask(9) πŸ’…

okay bestie, this is the Kernel API Manual entry for padata_set_cpumask, and it's literally the glow-up for a cpumask. no cap. ✨

πŸ’– NAME πŸ’–

padata_set_cpumask β€” sets the cpumask specified by @cpumask_type to the value equivalent to @cpumask. periodt. 🫢

✨ SYNOPSIS ✨

int padata_set_cpumask (struct padata_instance *pinst , int cpumask_type
       , cpumask_var_t cpumask );

πŸŽ€ ARGUMENTS πŸŽ€

  • pinst β€” the padata instance we're working with, bestie. That's the main character here.
  • cpumask_type β€” this one picks which mask gets the makeover: PADATA_CPU_SERIAL or PADATA_CPU_PARALLEL, corresponding to parallel and serial cpumasks respectively. iykyk πŸ’…
  • cpumask β€” the cpumask to use. iconic. ✨

πŸ”₯ RETURN πŸ”₯

0 on success, or a negative error code if things did not slay. πŸ˜­πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./kernel/padata.c and the whole squad:

πŸŽ€ that's the whole page, bestie. source/version: ./kernel; date: October 2026. go off and set those cpumasks πŸ’–πŸ¦‹
πŸ“¦ where this page comes from