padata_set_cpumask(9)
π 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_SERIALorPADATA_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:
padata_do_parallel(9)padata_do_serial(9)padata_do_multithreaded(9)padata_alloc(9)padata_free(9)padata_alloc_shell(9)padata_free_shell(9)
π that's the whole page, bestie. source/version: ./kernel; date: October 2026. go off and set those cpumasks ππ¦
π¦ 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