cpuset_mem_spread_node(9)
π cpuset_mem_spread_node β Kernel API Manual, but make it chat
okay so bestie, we're in the Kernel API Manual today and the star of the show is cpuset_mem_spread_node π no cap, the name is a whole mouthful but the vibe is actually simple, i promise.
β¨ NAME β¨
cpuset_mem_spread_node β On which node to begin search for a file page π
like, literally that's the whole job. it tells you which node you start hunting for a file page on. that's it. that's the function. iconic behaviour honestly.
π¦ SYNOPSIS π¦
int cpuset_mem_spread_node (void );
yes babe, it returns an int and it takes void β she's low maintenance, she needs nothing from you, she simply is πΈ
π ARGUMENTS π
voidβ no arguments π«Ά not one. not a single one. zero. empty set. the function said "i don't need your input, i'm the main character" and honestly? respect.
π SEE ALSO π
okay this is the part where the manpage shows off its entire friend group and ngl it's a big friend group. all of these live in the Kernel file ./kernel/cgroup/cpuset.c β and yes, cpuset_mem_spread_node herself is part of that same file, so it's giving very much family reunion energy π₯
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_init_smp(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_mems_allowed_intersects(9)cpuset_print_current_mems_allowed(9)
that's the whole squad, go say hi to all of them π
bestie heads up: this page gives you the what (which node to begin the search on) and literally nothing else β no extra tips, no secret lore. if you need the deep cpuset drama, that's what the SEE ALSO list is for π§
okay that's a wrap! this page came straight out of the ./kernel/cgroup source, dated October 2026, and it's filed under the cpuset_mem_spread_node(9) name β mwah, slay, periodt, go read your man pages πβ¨
π¦ 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