RE: [PATCH v11 23/23] x86/resctrl: Introduce interface to modify assignment states of the groups

From: Luck, Tony
Date: Wed Feb 19 2025 - 12:52:28 EST


> I hacked up something a bit like this so that schemata could be written
> interactively from the shell, so I can try to port that onto this series
> as an illustration, if it helps.

Note that schemata will accept writes that just change the bits you want to change.

So from the shell:

# cat schemata
MB:0=100;1=100
L3:0=fff;1=fff

# echo "MB:1=90" > schemata

# cat schemata
MB:0=100;1= 90
L3:0=fff;1=fff

-Tony