]> Gentwo Git Trees - linux/.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)
committerTejun Heo <tj@kernel.org>
Fri, 19 Sep 2025 16:41:26 +0000 (06:41 -1000)
commit59d5de3655698679ad8fd2cc82228de4679c4263
tree761f8e9c9a7a26995efc5ae06eeceac19d0dbcf9
parent216217ebee16afc4d79c3e86a736d87175c18e68
cpuset: Use new excpus for nocpu error check when enabling root partition

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>
kernel/cgroup/cpuset.c