mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>,
	Michal Koutny <mkoutny@suse.com>,
	Waiman Long <longman@redhat.com>,
	cgroups@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] cgroup: Fixes for v7.3-rc6
Date: Tue, 06 Oct 2026 07:35:52 -1000	[thread overview]
Message-ID: <e2cbf80a5cffa62a2dfcea51b4fa7ac1@kernel.org> (raw)

Hello,

The following changes since commit 31c88350b7dd1522792f726f79607f31bb55c50f:

  cgroup/cpuset: Return PERR_NOCPUS in remote_partition_enable() on subpartitions_cpus conflict (2026-09-26 08:07:26 -1000)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git tags/cgroup-for-7.3-rc6-fixes

for you to fetch changes up to b8eb5fd5bdb4c03758b056c70e5e1d962ca89757:

  cgroup/cpuset: Call is_in_v2_mode() after acquiring cpuset_mutex in cpuset_handle_hotplug() (2026-10-06 06:36:51 -1000)

----------------------------------------------------------------
cgroup: Fixes for v7.3-rc6

- During CPU offline, the active mask drops the CPU before cpuset updates
  the effective CPUs, so a task placement in that window could find no
  active CPU in the top cpuset and dereference NULL. Restore the NULL check.

- The cpuset v2-mode test read the subsystem's root pointer, which is stale
  during a cgroup filesystem rebind, and the hotplug handler evaluated it
  before taking the cpuset mutex. Record the mode in a flag and test it
  under the mutex.

----------------------------------------------------------------
Waiman Long (3):
      cgroup/cpuset: Don't access cpuset_cgrp_subsys.root in is_in_v2_mode()
      cgroup/cpuset: Handle cpu hotplug race in guarantee_active_cpus()
      cgroup/cpuset: Call is_in_v2_mode() after acquiring cpuset_mutex in cpuset_handle_hotplug()

 kernel/cgroup/cpuset.c | 40 ++++++++++++++++++++++++++++++++--------
 1 file changed, 32 insertions(+), 8 deletions(-)

-- 
tejun

                 reply	other threads:[~2026-10-06 17:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=e2cbf80a5cffa62a2dfcea51b4fa7ac1@kernel.org \
    --to=tj@kernel.org \
    --cc=cgroups@vger.kernel.org \
    --cc=hannes@cmpxchg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=longman@redhat.com \
    --cc=mkoutny@suse.com \
    --cc=torvalds@linux-foundation.org \
    /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

all inboxes | Powered by JetHome®