RE: [PATCH v11 20/31] fs/resctrl: Refactor Sub-NUMA Cluster (SNC) in mkdir/rmdir code flow
From: Luck, Tony
Date: Thu Oct 09 2025 - 18:09:10 EST
> I did not mean to imply that this can be supported without refactoring. It does
> seem as though you agree that mon_data::sum may be used for something
> other than SNC and thus that using mon_data::sum as a check for SNC is not ideal.
Reinette,
Yes, we are in agreement about non-SNC future usage.
Is it sufficient that I plant some WARN_ON_ONCE() in places where the
code assumes that mon_data::sum is only used by RDT_RESOURCE_L3
or for SNC?
Such code can be fixed by future patches that want to use mon_data::sum
for other things.
-Tony