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

Commit f3912da8 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: move watchdog_disable() call before isolation work"

parents f120c6c6 fc776f04
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -5983,8 +5983,6 @@ int do_isolation_work_cpu_stop(void *data)
	struct rq *rq = cpu_rq(cpu);
	struct rq_flags rf;

	watchdog_disable(cpu);

	local_irq_disable();

	irq_migrate_all_off_this_cpu();
@@ -6131,6 +6129,7 @@ int sched_isolate_cpu(int cpu)
	smp_call_function_any(&avail_cpus, hrtimer_quiesce_cpu, &cpu, 1);
	smp_call_function_any(&avail_cpus, timer_quiesce_cpu, &cpu, 1);

	watchdog_disable(cpu);
	stop_cpus(cpumask_of(cpu), do_isolation_work_cpu_stop, 0);

	calc_load_migrate(rq);