Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c9e8e0f authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

sched/core: Disable irq before calling irq_migrate_all_off_this_cpu



irq_migrate_all_off_this_cpu is not disabling the irq
when when irqs are migrated.
commit 0dd945ff ("genirq/cpuhotplug: Remove irq disabling logic")
removed the irq disable, thinking that every caller of
irq_migrate_all_off_this_cpu would disable irqs. So disable irqs
during the core isolation before calling irq_migrate_all_off_this_cpu.

Change-Id: I07b42e4ab6ce488e41f181ecf3033de20da8f831
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent c9e61f28
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5789,10 +5789,10 @@ int do_isolation_work_cpu_stop(void *data)

	watchdog_disable(cpu);

	irq_migrate_all_off_this_cpu();

	local_irq_disable();

	irq_migrate_all_off_this_cpu();

	sched_ttwu_pending();

	/* Update our root-domain */