From: Li Zefan Date: Sun, 9 Jun 2013 09:16:29 +0000 (+0800) Subject: cpuset: allow to keep tasks in empty cpusets X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~43^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c5cc62321d9df7a9a608346fc649c4528380c8f;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed