diff options
| author | Waiman Long <longman@redhat.com> | 2026-02-21 13:54:11 -0500 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-02-23 10:40:58 -1000 |
| commit | f9a1767ce3a34bc33c3d33473f65dc13a380e379 (patch) | |
| tree | 7df09d64773973f1cd626a882c716ee91f16f0b6 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 5ee01f1a7343d6a3547b6802ca2d4cdce0edacb1 (diff) | |
cgroup/cpuset: Fix incorrect change to effective_xcpus in partition_xcpus_del()
The effective_xcpus of a cpuset can contain offline CPUs. In
partition_xcpus_del(), the xcpus parameter is incorrectly used as
a temporary cpumask to mask out offline CPUs. As xcpus can be the
effective_xcpus of a cpuset, this can result in unexpected changes
in that cpumask. Fix this problem by not making any changes to the
xcpus parameter.
Fixes: 11e5f407b64a ("cgroup/cpuset: Keep track of CPUs in isolated partitions")
Reviewed-by: Chen Ridong <chenridong@huaweicloud.com>
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
