Re: [PATCH v5 RESEND 7/7] fs/resctrl: Add info/moveable_mon_group
From: Reinette Chatre
Date: Tue Nov 24 2026 - 13:31:40 EST
Hi Ben,
On 11/24/26 3:19 AM, Ben Horgan wrote:
>
> As hypothetically support for moving MON groups that monitor CPUs could be added I think we also
> need to take this into account when designing for extensibility. The two current behaviours for MON
> group moving across control groups are, not allowed and allowed only if no CPUs are being monitored.
> Perhaps, info/moveable_mon_group could show "no" when when moving is not allowed and "tasks" or
> "tasks_only" if it is allowed. The "tasks"/"tasks_only" does seem but a bit awkward but I can't
> think of anything better at the moment. Using a word means that if we want to support destructive
> moves later on then we could later use "destructive" for that.
Thank you very much.
This sounds like something that could, potentially, describe "movable_mon_group" as (very rough idea):
"Shows the supported and currently active mechanisms of relocating a monitor group to a new control
group. User may be able to activate a mechanism by writing the name of a supported mechanism to
moveable_mon_group."
The naming is always tricky. This can be hashed out later. The main idea of establishing this
style interface sounds good to me since it provides flexibility for future changes.
Reinette