]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cpuset: Use new excpus for nocpu error check when enabling root partition
authorChen Ridong <chenridong@huawei.com>
Fri, 19 Sep 2025 01:12:27 +0000 (01:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Nov 2025 13:18:04 +0000 (22:18 +0900)
commitc198b19552fd36a322f92afcdd138e8b169fbc6e
tree78f3761bd23c4fe6ca514a4f0b3dafa496085db1
parent47f3af1a9bd7033a29c6cc13214200665f53be00
cpuset: Use new excpus for nocpu error check when enabling root partition

[ Upstream commit 59d5de3655698679ad8fd2cc82228de4679c4263 ]

A previous patch fixed a bug where new_prs should be assigned before
checking housekeeping conflicts. This patch addresses another potential
issue: the nocpu error check currently uses the xcpus which is not updated.
Although no issue has been observed so far, the check should be performed
using the new effective exclusive cpus.

The comment has been removed because the function returns an error if
nocpu checking fails, which is unrelated to the parent.

Signed-off-by: Chen Ridong <chenridong@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/cgroup/cpuset.c