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

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

Merge "sched: Take irq_sparse lock during the isolation"

parents 62de338c ec8cda53
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6134,7 +6134,9 @@ int sched_isolate_cpu(int cpu)
	smp_call_function_any(&avail_cpus, timer_quiesce_cpu, &cpu, 1);

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

	calc_load_migrate(rq);
	update_max_interval();