Re: [PATCH v10 7/8] x86/resctrl: Add write option to "mba_MBps_event" file

From: Reinette Chatre
Date: Tue Nov 26 2024 - 13:42:49 EST


Hi Tony,

On 11/22/24 3:58 PM, Tony Luck wrote:
> The "mba_MBps" mount option provides an alternate method to control memory
> bandwidth. Instead of specifying allowable bandwidth as a percentage of
> maximum possible, the user provides a MiB/s limit value.
>
> There is a file in each CTRL_MON group directory that shows the event
> currently in use.
>
> Allow writing that file to choose a different event.
>
> A user can choose any of the memory bandwidth monitoring events listed in
> /sys/fs/resctrl/info/L3_mon/mon_features independently for each CTRL_MON
> group by writing to each of the "mba_MBps_event" files.
>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---

Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Reinette