]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01d59cc80f29caee5acfd2869b7bd77d9102790b
tree11eed372fa154e9be6144e790581102f0ec5f4a2
parente0ae9bd50f3a741e8ee215d2044b71a2b96f8c42
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