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

Commit 21fc13a9 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: Respect wake to idle over sync wakeup"

parents 8d88cc8b f0d90670
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2004,6 +2004,11 @@ static int select_best_cpu(struct task_struct *p, int target, int reason,
		prefer_idle = 1;
		prefer_idle_override = 1;
		small_task = 0;
		/*
		 * If wake to idle and sync are both set prefer wake to idle
		 * since sync is a weak hint that might not always be correct.
		 */
		sync = 0;
	}

	if (small_task && !boost) {