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

Commit 9090f4c4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: don't active migrate tasks to CPUs in the same cluster" into msm-4.9

parents 33b05e77 6ee025c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12319,7 +12319,7 @@ void check_for_migration(struct rq *rq, struct task_struct *p)
			return;

		new_cpu = energy_aware_wake_cpu(p, cpu, 0);
		if (new_cpu != cpu) {
		if (capacity_orig_of(new_cpu) > capacity_orig_of(cpu)) {
			active_balance = kick_active_balance(rq, p, new_cpu);
			if (active_balance) {
				mark_reserved(new_cpu);