cpuset: Make cpuset hotplug synchronous
authorPrateek Sood <prsood@codeaurora.org>
Fri, 24 Jan 2020 15:07:29 +0000 (20:37 +0530)
committerTejun Heo <tj@kernel.org>
Wed, 12 Feb 2020 22:13:47 +0000 (17:13 -0500)
commita49e4629b5edf1db856de05fbf1aae05502ef1af
tree11eed372fa154e9be6144e790581102f0ec5f4a2
parent3010c5b9f5f476b35b24955f08a3a6c06ec8e878
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