diff options
author | 2013-06-09 17:14:22 +0800 | |
---|---|---|
committer | 2013-06-09 08:47:13 -0700 | |
commit | e44193d39e8d4d1de5d996fcd37ed75e5c704f10 (patch) | |
tree | e73e4d6fe9de762e3c56fd6a122ed28f2fcf6979 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpuset: re-structure update_cpumask() a bit (diff) | |
download | linux-dev-e44193d39e8d4d1de5d996fcd37ed75e5c704f10.tar.xz linux-dev-e44193d39e8d4d1de5d996fcd37ed75e5c704f10.zip |
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 <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions