free_cpuset(9)
π NAME π
free_cpuset β bestie, the whole job is right there in the name: it frees the cpuset. That's it, that's the vibe. Short, sweet, main character energy, no notes β¨
π SYNOPSIS π
void free_cpuset (struct cpuset *cs );
Literally one line, and yes, the spacing is exactly like that β we do not mess with the code, periodt π
π¦ ARGUMENTS π¦
csβ the cpuset that's getting freed. That's the one. Hand it over and let it go π«Ά
π SEE ALSO π
The kernel file this lives in is ./kernel/cgroup/cpuset.c, and okay so there are a lot of friends in this cgroup cpuset friend group β like a whole group chat. Here's the full roster, in order, no cap:
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)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_mem_spread_node(9)cpuset_mems_allowed_intersects(9)cpuset_print_current_mems_allowed(9)
Like, go read them too, iykyk ππ
That's the whole page, bestie β this lil kernel API manual entry (section 9, the Kernel API Manual, if you're keeping track π) comes to you from the ./kernel/cgroup source, dated October 2026. Slay, bye! πβ¨
π¦ 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