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

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

Merge "sched/fair: Make tick path active migration more robust" into msm-4.14

parents 5a7ff2b4 58cc9909
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -8593,6 +8593,10 @@ int can_migrate_task(struct task_struct *p, struct lb_env *env)
		return 0;
	}

	/* Don't detach task if it is under active migration */
	if (env->src_rq->push_task == p)
		return 0;

	/*
	 * Aggressive migration if:
	 * 1) IDLE or NEWLY_IDLE balance.