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

Luck, Tony
2025-12-18T21:49:28Z

> + 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

-Tony