diff options
| author | Waiman Long <longman@redhat.com> | 2026-10-30 15:07:00 -0400 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-11-01 21:48:56 -1000 |
| commit | 80ca632430e3394ef2676976428965bb12ce6a31 (patch) | |
| tree | 187f28b2de90ef5096a43f2881695709affeaa58 /scripts/Makefile.thinlto | |
| parent | 362212853cd09796c275669e9fc3a25f282bd688 (diff) | |
| download | linux-next-80ca632430e3394ef2676976428965bb12ce6a31.tar.gz linux-next-80ca632430e3394ef2676976428965bb12ce6a31.zip | |
cgroup/cpuset: Recompute effective cpumask in update_cpumasks_hier() after calling update_parent_effective_cpumask()
It is reported by sashiko that calling update_parent_effective_cpumask()
may clobber tmp->new_cpus when update_sibling_cpumasks() needs to be
called due to possible change in the parent's effective_cpus value.
Therefore the new effective cpumask has to be recomputed after calling
update_parent_effective_cpumask() to get a correct value back into
tmp->new_cpus.
Fixes: f0af1bfc27b5 ("cgroup/cpuset: Relax constraints to partition & cpus changes")
Signed-off-by: Waiman Long <longman@redhat.com>
Reviewed-by: Guopeng Zhang <zhangguopeng@kylinos.cn>
Tested-by: Guopeng Zhang <zhangguopeng@kylinos.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
