diff options
author | Olav Haugan <ohaugan@codeaurora.org> | 2016-05-29 19:53:00 -0700 |
---|---|---|
committer | Olav Haugan <ohaugan@codeaurora.org> | 2016-09-24 10:59:58 -0700 |
commit | e38c1ce12351b6e8bfa8a4237d940449afcc7500 (patch) | |
tree | 91e6f2ab5a126b7336c9225a76aeec9e56935ec4 /kernel | |
parent | bc24c063ef8b8c16432fd328403972ae3da12526 (diff) |
smp: Do not wake up all idle CPUs
Do not wake up cpus that are isolated.
Change-Id: I07702bb5b738c1c75c49a2ca4cb08be0231ccb12
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/smp.c b/kernel/smp.c index abdc48cd79a3..b2ec21c5c9d6 100644 --- a/kernel/smp.c +++ b/kernel/smp.c @@ -766,8 +766,8 @@ void wake_up_all_idle_cpus(void) for_each_online_cpu(cpu) { if (cpu == smp_processor_id()) continue; - - wake_up_if_idle(cpu); + if (!cpu_isolated(cpu)) + wake_up_if_idle(cpu); } preempt_enable(); } |