Re: [PATCH v9 09/10] fs/resctrl: Introduce interface to modify io_alloc Capacity Bit Masks
From: Reinette Chatre
Date: Mon Sep 22 2025 - 18:48:37 EST
Hi Babu,
On 9/19/25 1:49 PM, Moger, Babu wrote:
> Here is the updated full changelog.
>
> fs/resctrl: Introduce interface to modify io_alloc Capacity Bit Masks
I do not think it is necessary to use upper case if not following it
by the acronym. I also think "bitmask" is usually one word? So:
fs/resctrl: Introduce interface to modify io_alloc capacity bitmasks
>
> The io_alloc feature in resctrl enables system software to configure the
> portion of the cache allocated for I/O traffic. When supported, the
> io_alloc_cbm file in resctrl provides access to Capacity Bit Masks (CBMs) allocated for I/O devices.
>
> Enable users to modify io_alloc CBMs via io_alloc_cbm resctrl file when the feature is enabled.
(nit) can be made more specific with:
Enable users to modify io_alloc CBMs by writing to the io_alloc_cbm resctrl
file when the io_alloc feature is enabled.
>
> Mirror the CBMs between CDP_CODE and CDP_DATA when CDP is enabled to present consistent I/O allocation information to user space and keep both resource types synchronized.
I think "and keep both resource types synchronized" is redundant considering the sentence
starts with "Mirror the CBMs"?
Reinette