Re: [PATCH v6 07/18] fs/resctrl: Introduce resctrl_set_kmode_support() to register supported modes

From: Reinette Chatre

Date: Mon Oct 19 2026 - 14:34:03 EST


Hi Babu,

On 10/16/26 8:27 AM, Moger, Babu wrote:
> Hi Reinette,
>
> On 10/15/2026 9:40 AM, Reinette Chatre wrote:
>> Hi Babu,
>>
>> On 10/1/26 8:10 AM, Babu Moger wrote:
>>> The resctrl subsystem tracks kernel mode configuration. Architectures need
>>
>> resctrl tracks nothing at this point. This is preparatory work to enable resctrl
>> to do so.
>
> Yes. That is correct. Hope this looks ok.
>
> Architectures may support different kernel modes that need to be
> exposed to resctrl.

nit: "need to be exposed to user space via resctrl filesystem."?

>
> Add resctrl_set_kmode_support() to allow an architecture to register
> its supported kernel modes. This is preparatory infrastructure for
> future kernel mode support in resctrl.
>

Looks good, thank you.

Reinette