From: Li Zefan Date: Sun, 9 Jun 2013 09:14:22 +0000 (+0800) Subject: cpuset: let hotplug propagation work wait for task attaching X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~43^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e44193d39e8d4d1de5d996fcd37ed75e5c704f10;p=pandora-kernel.git cpuset: let hotplug propagation work wait for task attaching Instead of triggering propagation work in cpuset_attach(), we make hotplug propagation work wait until there's no task attaching in progress. IMO this is more robust. We won't see empty masks in cpuset_attach(). Also it's a preparation for removing propagation work. Without asynchronous propagation we can't call move_tasks_in_empty_cpuset() in cpuset_attach(), because otherwise we'll deadlock on cgroup_mutex. tj: typo fixes. Signed-off-by: Li Zefan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed