Re: [PATCH v10 07/10] fs/resctrl: Introduce interface to display io_alloc CBMs

From: Reinette Chatre
Date: Fri Oct 24 2025 - 19:43:51 EST


Hi Babu,

On 10/21/25 4:54 PM, Babu Moger wrote:
> Introduce the "io_alloc_cbm" resctrl file to display the capacity bitmasks
> (CBMs) that represent the portions of each cache instance allocated
> for I/O traffic on a cache resource that supports the "io_alloc" feature.
>
> io_alloc_cbm resides in the info directory of a cache resource, for example,
> /sys/fs/resctrl/info/L3/. Since the resource name is part of the path, it
> is not necessary to display the resource name as done in the schemata file.
>
> When CDP is enabled, io_alloc routes traffic using the highest CLOSID
> associated with the CDP_CODE resource and that CLOSID becomes unusable for
> the CDP_DATA resource. The highest CLOSID of CDP_CODE and CDP_DATA resources
> will be kept in sync to ensure consistent user interface. In preparation for
> this, access the CBMs for I/O traffic through highest CLOSID of either
> CDP_CODE or CDP_DATA resource.
>
> Signed-off-by: Babu Moger <babu.moger@xxxxxxx>
> ---

Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Reinette