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

Commit 53d2a04a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: Stop task migration to busy CPUs due to power active balance"

parents ad5b0dae 0b013c85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5844,7 +5844,7 @@ static bool update_sd_pick_busiest(struct lb_env *env,
	 * seen a busy group yet. We want to prioritize spreading
	 * work over power optimization. */
	if (!sds->busiest && sg->group_weight == 1 &&
	    sgs->sum_nr_running &&
	    sgs->sum_nr_running && (env->idle != CPU_NOT_IDLE) &&
	    power_cost_at_freq(env->dst_cpu, 0) <
	    power_cost_at_freq(cpumask_first(sched_group_cpus(sg)), 0)) {
		env->flags |= LBF_PWR_ACTIVE_BALANCE;