diff options
author | Waiman Long <longman@redhat.com> | 2023-03-17 11:15:07 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2023-03-29 08:42:09 -1000 |
commit | 6667439f51c446fead5d991ff49b842a811a6195 (patch) | |
tree | e771e8f5dff7e00d0db60b364f39a1a70e8a32e6 /tools/testing/selftests/cgroup | |
parent | df59b72cd8fb8ca00301f47e65853efed195d23f (diff) | |
download | lwn-6667439f51c446fead5d991ff49b842a811a6195.tar.gz lwn-6667439f51c446fead5d991ff49b842a811a6195.zip |
cgroup/cpuset: Include offline CPUs when tasks' cpumasks in top_cpuset are updated
Similar to commit 3fb906e7fabb ("group/cpuset: Don't filter offline
CPUs in cpuset_cpus_allowed() for top cpuset tasks"), the whole set of
possible CPUs including offline ones should be used for setting cpumasks
for tasks in the top cpuset when a cpuset partition is modified as the
hotplug code won't update cpumasks for tasks in the top cpuset when
CPUs become online or offline.
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/cgroup')
0 files changed, 0 insertions, 0 deletions