Linux Documentation
 help / color / mirror / Atom feed
From: Reinette Chatre <reinette.chatre@intel.com>
To: Jinjie Ruan <ruanjinjie@huawei.com>, <tony.luck@intel.com>,
	<Dave.Martin@arm.com>, <james.morse@arm.com>,
	<babu.moger@amd.com>, <corbet@lwn.net>,
	<skhan@linuxfoundation.org>, <rdunlap@infradead.org>,
	<bp@alien8.de>, <tan.shaopeng@fujitsu.com>, <fenghuay@nvidia.com>,
	<will@kernel.org>, <gshan@redhat.com>, <jic23@kernel.org>,
	<ben.horgan@arm.com>, <zengheng4@huawei.com>, <x86@kernel.org>,
	<linux-kernel@vger.kernel.org>, <linux-doc@vger.kernel.org>
Subject: Re: [PATCH v7 0/6] fs/resctrl: Fix some resctl bugs related to mpam
Date: Thu, 3 Dec 2026 12:05:07 -0800	[thread overview]
Message-ID: <c862ea1c-3e22-424d-830d-0778f078a9b6@intel.com> (raw)
In-Reply-To: <20261126095038.2276975-1-ruanjinjie@huawei.com>

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@arm.com/
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

      parent reply	other threads:[~2026-12-03 20:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  9:50 [PATCH v7 0/6] fs/resctrl: Fix some resctl bugs related to mpam Jinjie Ruan
2026-11-26  9:50 ` [PATCH v7 1/6] fs/resctrl: Report a temporary RMID shortage per CLOSID Jinjie Ruan
2026-11-26  9:50 ` [PATCH v7 2/6] fs/resctrl: Do not allocate a monitor context when releasing limbo RMIDs Jinjie Ruan
2026-11-26  9:50 ` [PATCH v7 3/6] fs/resctrl: Clear the CDP state after the cleanup Jinjie Ruan
2026-11-26  9:50 ` [PATCH v7 4/6] fs/resctrl: Stop the limbo handler while resctrl is unmounted Jinjie Ruan
2026-11-26  9:50 ` [PATCH v7 5/6] fs/resctrl: Recreate the dirty RMIDs when the CDP state changes Jinjie Ruan
2026-11-26  9:50 ` [PATCH v7 6/6] fs/resctrl: Disallow monitor group move when the RMID index changes Jinjie Ruan
2026-12-03 20:05 ` Reinette Chatre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c862ea1c-3e22-424d-830d-0778f078a9b6@intel.com \
    --to=reinette.chatre@intel.com \
    --cc=Dave.Martin@arm.com \
    --cc=babu.moger@amd.com \
    --cc=ben.horgan@arm.com \
    --cc=bp@alien8.de \
    --cc=corbet@lwn.net \
    --cc=fenghuay@nvidia.com \
    --cc=gshan@redhat.com \
    --cc=james.morse@arm.com \
    --cc=jic23@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=ruanjinjie@huawei.com \
    --cc=skhan@linuxfoundation.org \
    --cc=tan.shaopeng@fujitsu.com \
    --cc=tony.luck@intel.com \
    --cc=will@kernel.org \
    --cc=x86@kernel.org \
    --cc=zengheng4@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox