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

Commit b874ceec authored by Divya Sharma's avatar Divya Sharma Committed by Visweswara Kumar
Browse files

Revert "sched/fair: don't skip based on target capacity"



This reverts commit 893f2649.

Change-Id: I88a45aefd9ce470c3c44b3805f374bb9fe48ce14
Signed-off-by: default avatarDivya Sharma <divyash@codeaurora.org>
parent 9f766b5d
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -7585,8 +7585,12 @@ static inline int find_best_target(struct task_struct *p, int *backup_cpu,
			if (capacity_orig < capacity_orig_of(cpu))
				continue;



			/*
			 * Favor CPUs with smaller capacity for non latency
			 * sensitive tasks.
			 */
			if (capacity_orig > target_capacity)
				continue;

			/*
			 * Case B) Non latency sensitive tasks on IDLE CPUs.