Re: RE: [PATCH v2 3/3] x86/resctrl: Add "*" shorthand to set minimum io_alloc CBM for all domains

From: Moger, Babu

Date: Thu Dec 18 2025 - 16:56:31 EST




On 12/18/2025 3:49 PM, Luck, Tony wrote:
+ if (id && *id == '*') {

That will accept arbitrary chars after the "*".

if (id && !strcmp(id, "*"))

oh.ok. Thanks


What do you think?

Why is io_alloc special? The same simple change could apply to parse_line() to allow
setting all domains in a resource to be set to the same value:


Yes. I am fine with that approach. Treat "*" equivalent for all the resources not just io_alloc.

# echo "L3:*=fff" > schemata

# echo "MB:*=50" > schemata

-Tony