RE: [PATCH 1/2] x86/resctrl: Add io_alloc_min_cbm_all interface for CBM reset

From: Luck, Tony

Date: Fri Nov 07 2025 - 19:42:18 EST


> The intention of this new interface is not to hide lower-level details from
> the administrator, but rather to simplify a specific, high-overhead
> administration task and prevent human error, which I encountered during
> testing of your series.

If you do this often, make a bash script or function to do:

sed -i -e 's/\([0-9][0-9]*\)=\([0-9a-f][0-9a-f]*\)/\1=0/g' /sys/fs/resctrl/info/L3/io_alloc_cbm

[That regex would probably be more readable using extended syntax]

-Tony