diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-08-11 12:48:42 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-11 12:48:41 -0700 |
| commit | bbf8cef11073d170002e4f14f355de7a0cdd3ff3 (patch) | |
| tree | 0ef135d022391fceb5b767f6a19ecb5c8df0e0fd /kernel | |
| parent | a1240c5161b61a756801128350290c0f49ca78c0 (diff) | |
| parent | 36131fdc87c847b498d82808dd5ac88443dc8cf5 (diff) | |
Merge "sched: Remove synchronize rcu/sched calls from _cpu_down"
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/cpu.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 37731292f8a1..1cfd381642da 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -365,21 +365,6 @@ static int _cpu_down(unsigned int cpu, int tasks_frozen) goto out_release; } - /* - * By now we've cleared cpu_active_mask, wait for all preempt-disabled - * and RCU users of this state to go away such that all new such users - * will observe it. - * - * For CONFIG_PREEMPT we have preemptible RCU and its sync_rcu() might - * not imply sync_sched(), so wait for both. - * - * Do sync before park smpboot threads to take care the rcu boost case. - */ - if (IS_ENABLED(CONFIG_PREEMPT)) - synchronize_rcu_mult(call_rcu, call_rcu_sched); - else - synchronize_rcu(); - smpboot_park_threads(cpu); /* |
