mongrp_reparent(9)
π mongrp_reparent(9) π
hiii bestie π«Ά this is the mongrp_reparent(9) page from the Kernel API Manual, and it's honestly a short little icon. Let's get into it β¨
π NAME π
mongrp_reparent β replace parent CTRL_MON group of a MON group
β¨ SYNOPSIS β¨
okay so here's the exact signature, no cap:
void mongrp_reparent (struct rdtgroup *rdtgrp , struct rdtgroup
*new_prdtgrp , cpumask_var_t cpus );
πΈ ARGUMENTS πΈ
rdtgrpβ theMONgroup whose parent should be replaced πnew_prdtgrpβ replacement parentCTRL_MONgroup forrdtgrpπcpusβcpumaskprovided by the caller for use during this call π
π¦ DESCRIPTION π¦
So basically: this replaces the parent CTRL_MON group for a MON group. The result? All member tasks' CLOSID immediately changes to that of the new parent group β immediately, bestie, like a vibe check but for task groups π
And the monitoring data for the group is unaffected by this operation. Literally unaffected. Not touched. Iconic behavior, honestly β¨
π SEE ALSO π
The kernel file in question is ./fs/resctrl/rdtgroup.c, and here's the whole related-page friend group:
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_mode_test_exclusive(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)domain_setup_l3_mon_state(9)resctrl_exit(9)
π«Ά that's the whole page, bestie β source is ./fs/resctrl, dated October 2026, and it's the mongrp_reparent(9) manual page. byeee π
π¦ 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