rdtgroup_mod...st_exclusive(9)
π¦ rdtgroup_mod...st_exclusive(9) π¦
okay so first things first, bestie β this page lives in the Kernel API Manual, and the function we're stanning today is rdtgroup_mode_test_exclusive. it's giving "small function, big feelings". let's get into it π
β¨ NAME β¨
rdtgroup_mode_test_exclusive β the little vibe-check that tells you whether this resource group can be exclusive or not π«Ά
β¨ SYNOPSIS β¨
bool rdtgroup_mode_test_exclusive (struct rdtgroup *rdtgrp );
β¨ ARGUMENTS β¨
rdtgrpβ the resource group, and no cap, it's identified through its closid. that's the whole personality of this parameter tbh π
β¨ DESCRIPTION β¨
so like. an exclusive resource group means exactly what it sounds like β there should be no sharing of its allocated resources. none. zero. not even a little. it's main character energy, it doesn't do roommates π
and at the moment this group is being considered for exclusive status, this test is what determines whether its current schemata actually supports that setting β by testing for overlap with all the other resource groups. literally checking if anybody else is squatting on its allocations π
β¨ RETURN β¨
trueβ slay, the resource group can be exclusive πfalseβ nope, there's overlap with allocations of other resource groups, which means this resource group cannot be exclusive π that's the whole tea.
β¨ SEE ALSO β¨
the kernel file is ./fs/resctrl/rdtgroup.c β go read it, iykyk πβ¨
and here's the whole friend group of related functions, all of them, none skipped, we don't do that here:
closid_allocated(9)rdtgroup_mode_by_closid(9)rdtgroup_mode_str(9)rdtgroup_remove(9)rdtgroup_tasks_assigned(9)__rdtgroup_cbm_overlaps(9)rdtgroup_cbm_overlaps(9)rdtgroup_cbm_to_size(9)rdtgroup_kn_mode_restrict(9)rdtgroup_kn_mode_restore(9)mon_get_kn_priv(9)mon_put_kn_priv(9)cbm_ensure_valid(9)mongrp_reparent(9)domain_setup_l3_mon_state(9)resctrl_exit(9)
lowkey a reminder that this is all documented behavior, so don't go inventing new semantics, bestie β the manpage is the source of truth π
and that's the page!! π this one comes from the ./fs/resctrl crew, dated October 2026, and it's filed under rdtgroup_mod...st_exclusive(9) β okay bye, go read some kernel source, ily π«Άπ
π¦ 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