Re: [PATCH v2 03/23] x86/resctrl: Kill off alloc_enabled

From: Reinette Chatre
Date: Fri Oct 15 2021 - 18:19:51 EST


Hi James,

On 10/1/2021 9:02 AM, James Morse wrote:
rdt_resources_all[] used to have extra entries for L2CODE/L2DATA.
These were hidden from resctrl by the alloc_enabled value.

Now that the L2/L2CODE/L2DATA resources have been merged together,
alloc_enabled doesn't mean anything, it always has the same value as
alloc_capable which indicates CAT is supported by this cache.

This impacts all resources, not just cache, so perhaps it should read "... which indicates allocation is supported by this resource." or equivalent.

Reinette