aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPrateek Sood <[email protected]>2020-01-24 20:37:29 +0530
committerTejun Heo <[email protected]>2020-02-12 17:13:47 -0500
commita49e4629b5edf1db856de05fbf1aae05502ef1af (patch)
tree11eed372fa154e9be6144e790581102f0ec5f4a2 /include/linux
parent3010c5b9f5f476b35b24955f08a3a6c06ec8e878 (diff)
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 <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/cpuset.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h
index 04c20de66afc..cede4cb98b78 100644
--- a/include/linux/cpuset.h
+++ b/include/linux/cpuset.h
@@ -54,7 +54,6 @@ extern int cpuset_init(void);
extern void cpuset_init_smp(void);
extern void cpuset_force_rebuild(void);
extern void cpuset_update_active_cpus(void);
-extern void cpuset_wait_for_hotplug(void);
extern void cpuset_read_lock(void);
extern void cpuset_read_unlock(void);
extern void cpuset_cpus_allowed(struct task_struct *p, struct cpumask *mask);
@@ -176,8 +175,6 @@ static inline void cpuset_update_active_cpus(void)
partition_sched_domains(1, NULL, NULL);
}
-static inline void cpuset_wait_for_hotplug(void) { }
-
static inline void cpuset_read_lock(void) { }
static inline void cpuset_read_unlock(void) { }