"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "d7b830013f59cf586c1cec3caa1ce7156da59a13"
cpuset: allow to keep tasks in empty cpusets
To achieve this: - We call update_tasks_cpumask/nodemask() for empty cpusets when hotplug happens, instead of moving tasks out of them. - When a cpuset's masks are changed by writing cpuset.cpus/mems, we also update tasks in child cpusets which are empty. v3: - do propagation work in one place for both hotplug and unplug v2: - drop rcu_read_lock before calling update_task_nodemask() and update_task_cpumask(), instead of using workqueue. - add documentation in include/linux/cgroup.h Signed-off-by:Li Zefan <lizefan@huawei.com> Signed-off-by:
Tejun Heo <tj@kernel.org>
Loading
Please register or sign in to comment