cpuset_init_smp(9)
π cpuset_init_smp(9) β a Kernel API Manual moment
Okay bestie, welcome to the cpuset_init_smp(9) page β yes that's the whole manual name, it's giving "section 9, kernel API, no notes" β¨
πΈ NAME πΈ
cpuset_init_smp β initialize cpus_allowed
π SYNOPSIS π
void cpuset_init_smp (void );
π¦ ARGUMENTS π¦
voidβ no arguments. literally none. zero. the void is the whole personality here π
β¨ DESCRIPTION β¨
Okay so here's the tea: this one finishes up the top cpuset after the cpu and node maps are initialized. That's it, that's the whole job β it's the little cleanup era at the end of setup, and honestly? iconic π«Ά
Heads up: the synopsis takes no arguments and the description gives you no extras β so don't go looking for hidden flags, there are none, no cap π
π₯ SEE ALSO π₯
Kernel file ./kernel/cgroup/cpuset.c β and the whole friend group, in the order the page lists them:
cpuset_lock(9)cpuset_full_lock(9)partition_is_populated(9)alloc_cpumasks(9)alloc_tmpmasks(9)free_tmpmasks(9)dup_or_alloc_cpuset(9)free_cpuset(9)cpus_excl_conflict(9)cpuset_update_tasks_cpumask(9)compute_effective_cpumask(9)compute_effective_nodemask(9)rm_siblings_excl_cpus(9)update_parent_effective_cpumask(9)compute_partition_effective_cpumask(9)update_sibling_cpumasks(9)validate_partition(9)partition_cpus_change(9)update_cpumask(9)update_exclusive_cpumask(9)cpuset_update_tasks_nodemask(9)update_prstate(9)cpuset_css_alloc(9)cpuset_init(9)cpuset_hotplug_update_tasks(9)cpuset_handle_hotplug(9)cpuset_cpus_allowed_locked(9)cpuset_cpus_allowed(9)cpuset_cpus_allowed_fallback(9)cpuset_mems_allowed(9)cpuset_nodemask_valid_mems_allowed(9)cpuset_nodes_allowed(9)cpuset_spread_node(9)cpuset_mem_spread_node(9)cpuset_mems_allowed_intersects(9)cpuset_print_current_mems_allowed(9)
That's the full roster, all 36 of them, nobody left on read π
Alright bestie, that's the page!! Sourced from ./kernel/cgroup and stamped October 2026, so likeβ¦ remember the vibes and the date, mwah πβ¨π¦
π¦ 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