summaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-07-11 23:36:49 +0200
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-11-09 06:43:20 +0100
commit309ba859b95085f61f4f2a154df6be9cb9713a12 (patch)
tree0441da4ac67f8147f4114522432c490cff5534cd /kernel/sched
parentrcu: Fix rcu_{node,data} comments about gp_seq_needed (diff)
downloadlinux-309ba859b95085f61f4f2a154df6be9cb9713a12.tar.xz
linux-309ba859b95085f61f4f2a154df6be9cb9713a12.zip
rcu: Eliminate synchronize_rcu_mult()
Now that synchronize_rcu() waits for both RCU read-side critical sections and preempt-disabled regions of code, the sole caller of synchronize_rcu_mult() can be replaced by synchronize_rcu(). This patch makes this change and removes synchronize_rcu_mult(). Note that _wait_rcu_gp() still supports synchronize_rcu_mult(), and thus might be simplified in the future to take only take a single call_rcu() function rather than the current list of them. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index f12225f26b70..ea12ebc57840 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -5788,7 +5788,7 @@ int sched_cpu_deactivate(unsigned int cpu)
*
* Do sync before park smpboot threads to take care the rcu boost case.
*/
- synchronize_rcu_mult(call_rcu, call_rcu_sched);
+ synchronize_rcu();
if (!sched_smp_initialized)
return 0;