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

From: Babu Moger

Date: Tue Oct 20 2026 - 10:56:25 EST


Hi Reinette,

On 10/19/26 11:19, Reinette Chatre wrote:
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."?

Sure.>

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.

Thanks,
Babu