]> asedeno.scripts.mit.edu Git - linux.git/commit
cpuset: Make cpuset hotplug synchronous
authorPrateek Sood <prsood@codeaurora.org>
Wed, 15 Nov 2017 14:20:15 +0000 (19:50 +0530)
committerTejun Heo <tj@kernel.org>
Mon, 27 Nov 2017 16:48:10 +0000 (08:48 -0800)
commit1599a185f0e6113be185b9fb809c621c73865829
treedd2f4646ce247a91b3b531c32f3331f354a024de
parentaa24163b2ee5c92120e32e99b5a93143a0f4258e
cpuset: Make cpuset hotplug synchronous

Convert cpuset_hotplug_workfn() into synchronous call for cpu hotplug
path. For memory hotplug path it still gets queued as a work item.

Since cpuset_hotplug_workfn() can be made synchronous for cpu hotplug
path, it is not required to wait for cpuset hotplug while thawing
processes.

Signed-off-by: Prateek Sood <prsood@codeaurora.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/cpuset.h
kernel/cgroup/cpuset.c
kernel/power/process.c
kernel/sched/core.c