cpuset: refactor cpuset_hotplug_update_tasks()
authorLi Zefan <lizefan@huawei.com>
Wed, 9 Jul 2014 08:48:54 +0000 (16:48 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 9 Jul 2014 19:56:17 +0000 (15:56 -0400)
commit390a36aadf39e241c83035469aae48ed1a144088
tree4a19ec08869bf82e0dc387524d14ebb602692ffc
parent7e88291beefbb758fa3b27e500ee2e0c888d6e44
cpuset: refactor cpuset_hotplug_update_tasks()

We mix the handling for both default hierarchy and legacy hierarchy in
the same function, and it's quite messy, so split into two functions.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cpuset.c