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

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

Merge "sched/fair: honor uclamp restrictions in fbt()"

parents a2c09fa8 22b04fa8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6616,7 +6616,7 @@ static void find_best_target(struct sched_domain *sd, cpumask_t *cpus,
			 * accounting. However, the blocked utilization may be zero.
			 */
			wake_util = cpu_util_without(i, p);
			new_util = wake_util + task_util_est(p);
			new_util = wake_util + uclamp_task_util(p);
			spare_wake_cap = capacity_orig - wake_util;

			if (spare_wake_cap > most_spare_wake_cap) {