Re: [PATCH v14.1 19/25] arm,x86,fs/resctrl: Enumerate AET on every resctrl mount

From: Luck, Tony

Date: Wed Oct 07 2026 - 16:47:12 EST


Hi Babu,

Thanks for looking at this.

On Wed, Oct 07, 2026 at 02:55:30PM -0500, Babu Moger wrote:
> Hi Tony,

>
> I dont completely understand this.
>
> After this function call, e->force_off can be permanently modified, whereas
> previously it was only altered by the boot options. Is this behavior
> expected?

You are correct. e->force_off will be set for an event group that may reduce
the user available number of RMIDs since resctrl will take the minimum number
of RMIDs across all monitor resources.

This parameter of an event group won't change from one mount to the next. If
some small number is enumerated on first mount, the same number is going to
be there on subsequent mounts.

So saving and restoring e->force_off wouldn't make any difference. Every
subsequent mount would just find the same issue.

-Tony