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

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

Merge "sched/fair: Fix excessive packing on the max capacity CPU"

parents 75d4a367 a993ba35
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -7034,8 +7034,7 @@ static void find_best_target(struct sched_domain *sd, cpumask_t *cpus,
			active_cpus_count++;

			/* Favor CPUs with maximum spare capacity */
			if (capacity_orig == target_capacity &&
			    spare_cap < target_max_spare_cap)
			if (spare_cap < target_max_spare_cap)
				continue;

			target_max_spare_cap = spare_cap;