update_sibling_cpumasks(9)
β¨ update_sibling_cpumasks(9) β¨
okay so real talk β this is a Kernel API Manual page, like the actual update_sibling_cpumasks(9) one, and I'm gonna walk you through it bestie because honestly it's short and sweet and you're gonna eat π
πΈ NAME πΈ
update_sibling_cpumasks β literally just updates the sibling cpusets' cpumasks. that's the whole vibe. no cap. π¦
π SYNOPSIS π
here's the signature, copy it exactly pls, don't be weird about the spaces:
void update_sibling_cpumasks (struct cpuset *parent , struct cpuset *cs
, struct tmpmasks *tmp );
like, void return β nothing comes back, this function is a generous icon who gives and doesn't take π
β ARGUMENTS β
three parameters, three little besties, let's meet them:
parentβ the parent cpuset. the mothership. the one in charge π«Άcsβ the current cpuset, aka the one we're actually looking at right now. main character energy fr πtmpβ temp variables. scratch space. the messy little side quest that makes the whole thing work π
that's it. that's the whole argument list. no hidden flags, no secret options, no environment variables lurking in the shadows. we love a low-drama API π
π SEE ALSO π
okay this is the part where it gets LONG, because the cpuset crew is huge and everybody knows everybody. all of these live in the kernel file ./kernel/cgroup/cpuset.c β say hi to the whole family:
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)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_mem_spread_node(9)cpuset_mems_allowed_intersects(9)cpuset_print_current_mems_allowed(9)
like. that's thirty-six whole friends. the cpuset subsystem is not beating the "has a big friend group" allegations ππ
just a lil reminder bestie: this page gives you the signature and the gang, not the internals. if you need to know what actually happens inside, go read ./kernel/cgroup/cpuset.c β i'm not out here making stuff up π
aaaand that's the page!! π this gem comes from the source directory ./kernel/cgroup, dated October 2026, and it's the update_sibling_cpumasks(9) page, obviously. go forth and update those siblings, queen β you've got this πβ¨π¦
π¦ 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