mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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> Signed-off-by: Samuel Pascua <pascua.samuel.14@gmail.com> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
01c3246e38
commit
a6bc0d68c1
@ -813,7 +813,7 @@ void wake_up_all_idle_cpus(void)
|
||||
|
||||
for_each_possible_cpu(cpu) {
|
||||
preempt_disable();
|
||||
if (cpu != smp_processor_id() && cpu_online(cpu))
|
||||
if (cpu != smp_processor_id() && cpu_online(cpu) && !cpu_isolated(cpu))
|
||||
wake_up_if_idle(cpu);
|
||||
preempt_enable();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user