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

From: Luck, Tony
Date: Mon Nov 10 2025 - 20:52:01 EST


> Seems like user space has needed information to perform a sane reset?

Like this:

1) Read info files to figure out what minimum mask is needed for this system
2) Use Babu's suggested syntax of
# echo "L3:*={min_mask_from_step_1}" > schemata

Rather than Aaron's

# echo "L3:*=0" > schemata

I'm OK with this for L3, but still see it being less useful for L2 with asymmetric domains.

It can meet the "set a minimum value across all domains" need.

But can fail setting a value that isn't supported by some of the domains.

-Tony