Re: [PATCH v1 01/20] x86/resctrl: Kill off alloc_enabled

From: Jamie Iles
Date: Wed Aug 11 2021 - 08:12:10 EST


Hi James,

On Thu, Jul 29, 2021 at 10:35:51PM +0000, James Morse wrote:
> rdt_resources_all[] used to have extra entries for L2CODE/L2DATA entries.
> 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.
>
> Remove alloc_enabled and its helpers.
>
> Signed-off-by: James Morse <james.morse@xxxxxxx>

There's a comment referring to alloc_enabled in rdtgroup_create_info_dir
that can be replaced with alloc_capable.

Thanks,

Jamie