Re: [PATCH v2 3/3] x86/resctrl: Add "*" shorthand to set minimum io_alloc CBM for all domains
From: Reinette Chatre
Date: Thu Dec 18 2025 - 18:00:26 EST
Hi Tony,
On 12/18/25 1:49 PM, Luck, Tony wrote:
>> + if (id && *id == '*') {
>
> That will accept arbitrary chars after the "*".
>
> if (id && !strcmp(id, "*"))
>
>> 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:
>
> # echo "L3:*=fff" > schemata
>
> # echo "MB:*=50" > schemata
If I remember correctly the idea was to limit this feature to io_alloc to avoid needing
to deal with L2 asymmetric domains [1].
Reinette
[1] https://lore.kernel.org/lkml/SJ1PR11MB60833A27A1B8057CDDFB1B2BFCCFA@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/