Re: [PATCH v8 08/24] x86/resctrl: Track the number of dirty RMID a CLOSID has

From: James Morse
Date: Mon Jan 22 2024 - 13:40:42 EST


Hi Babu,

On 03/01/2024 19:43, Moger, Babu wrote:
> On 12/15/23 11:43, James Morse wrote:
>> MPAM's PMG bits extend its PARTID space, meaning the same PMG value can be
>> used for different control groups.
>>
>> This means once a CLOSID is allocated, all its monitoring ids may still be
>> dirty, and held in limbo.
>>
>> Keep track of the number of RMID held in limbo each CLOSID has. This will
>> allow a future helper to find the 'cleanest' CLOSID when allocating.
>>
>> The array is only needed when CONFIG_RESCTRL_RMID_DEPENDS_ON_CLOSID is
>> defined. This will never be the case on x86.

> Reviewed-by: Babu Moger <babu.moger@xxxxxxx>

Thanks!

James