From: Tejun Heo <tj@kernel.org>
To: Waiman Long <longman@redhat.com>
Cc: "Ridong Chen" <ridong.chen@linux.dev>,
"Johannes Weiner" <hannes@cmpxchg.org>,
"Michal Koutný" <mkoutny@suse.com>,
"Farhad Alemi" <farhad.alemi@berkeley.edu>,
cgroups@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] cgroup/cpuset: Handle cpu hotplug race in guarantee_active_cpus()
Date: Fri, 02 Oct 2026 08:39:08 -1000 [thread overview]
Message-ID: <17a3acfd8b57e96b03dab38fc44a7031@kernel.org> (raw)
In-Reply-To: <20261002165438.951550-1-longman@redhat.com>
On Fri, Oct 02, 2026 at 12:54:38PM -0400, Waiman Long wrote:
> With commit 2125c0034c5d ("cgroup/cpuset: Make cpuset hotplug processing
> synchronous"), the cpuset hotplug operation becomes synchronous. That
> commit also removes the code that handles race between cpuset_hotplug_work
> and cpu hotplug notifier with the assumption that race is now gone.
> Later commit 7a0aabd9ce69 ("cgroup/cpuset: Always use cpu_active_mask")
> updates the cpuset code to always use cpu_active_mask instead of
> cpu_ohline_mask in some places including guarantee_online_cpus() which
> is renamed to guarantee_active_cpus() in that commit.
Applied to cgroup/for-7.3-fixes with two typos fixed and the following tag
added:
Cc: stable@vger.kernel.org # v6.16+
Thanks.
--
tejun
prev parent reply other threads:[~2026-10-02 18:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-02 16:54 [PATCH v2] cgroup/cpuset: Handle cpu hotplug race in guarantee_active_cpus() Waiman Long
2026-10-02 18:39 ` Tejun Heo [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=17a3acfd8b57e96b03dab38fc44a7031@kernel.org \
--to=tj@kernel.org \
--cc=cgroups@vger.kernel.org \
--cc=farhad.alemi@berkeley.edu \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=longman@redhat.com \
--cc=mkoutny@suse.com \
--cc=ridong.chen@linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.