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

This commit is contained in:
qctecmdr 2020-04-21 10:33:09 -07:00 • committed by Gerrit - the friendly Code Review server
commit 6a210371eb

View file

@ -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) {