Re: [PATCH v7 0/6] fs/resctrl: Fix some resctl bugs related to mpam
From: Reinette Chatre
Date: Thu Dec 03 2026 - 15:05:24 EST
Hi Jinjie,
On 11/26/26 1:50 AM, Jinjie Ruan wrote:
> Fix resctrl RMID allocation to report a retryable -EBUSY only when
> the target CLOSID actually has RMIDs in limbo.
>
> Split the domain-offline path out so it releases busy RMIDs without
> allocating a monitor context it never uses.
>
> Also unmount resctrl with the CDP state it was mounted with to fix
> another bug with mpam cdp.
>
> And do not allow monitor group move when the RMID index changes.
Looking at the series as a whole, I do not think most of it needs to go
to stable. The problems fixed by:
fs/resctrl: Clear the CDP state after the cleanup
fs/resctrl: Stop the limbo handler while resctrl is unmounted
fs/resctrl: Recreate the dirty RMIDs when the CDP state changes
all need CDP on MPAM. Ben reminded me in his recent message
https://lore.kernel.org/all/eafea8c3-589a-444d-9a2f-24a882456fb7@xxxxxxx/
that for MPAM CDP is under CONFIG_EXPERT and looks like MPAM already
prints a warning if a user attempts to enable it:
pr_warn("CDP is an expert feature and may cause MPAM to malfunction.\n");
"fs/resctrl: Do not allocate a monitor context when releasing limbo RMIDs" is good
to have as robustness but if I understand current MPAM design this needs a small
GFP_KERNEL allocation to fail in the domain offline path, which in practice does not.
The two that stand out to me as stable candidates are:
"fs/resctrl: Report a temporary RMID shortage per CLOSID"
"fs/resctrl: Disallow monitor group move when the RMID index changes"
Could this series be re-ordered to start with the above two patches and only
they have "Cc: stable"? The remaining patches can keep their "Fixes:" tags.
Thank you.
Reinette