diff options
author | Tianchen Ding <dtcccc@linux.alibaba.com> | 2022-01-18 18:05:18 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2022-01-26 06:49:30 -1000 |
commit | c80d401c52a2d1baf2a5afeb06f0ffe678e56d23 (patch) | |
tree | 17b3c88114f61001a830e6e0681758b92da81a61 /samples | |
parent | d068eebbd4822b6c14a7ea375dfe53ca5c69c776 (diff) |
cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask()
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@linux.alibaba.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions