Re: [PATCH] cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask()

From: Tejun Heo
Date: Wed Jan 26 2022 - 11:50:03 EST


On Tue, Jan 18, 2022 at 06:05:18PM +0800, Tianchen Ding wrote:
> subparts_cpus should be limited as a subset of cpus_allowed, but it is
> updated wrongly by using cpumask_andnot(). Use cpumask_and() instead to
> fix it.
>
> Fixes: ee8dde0cd2ce ("cpuset: Add new v2 cpuset.sched.partition flag")
> Signed-off-by: Tianchen Ding <dtcccc@xxxxxxxxxxxxxxxxx>

Applied to cgroup/for-5.17-fixes.

Thanks.

--
tejun