]> 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)
commit5030d5b4c475d6a701423485d452aed097dcc5bd
tree11eed372fa154e9be6144e790581102f0ec5f4a2
parent8c59dc2775791b1e09aebfb2457ad8b0616cf12c
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