Message ID | 1436293469-25707-34-git-send-email-morten.rasmussen@arm.com (mailing list archive) |
---|---|
State | RFC |
Headers | show |
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 01f7337..48ecf02 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -7382,6 +7382,10 @@ static struct sched_group *find_busiest_group(struct lb_env *env) * this level. */ update_sd_lb_stats(env, &sds); + + if (energy_aware() && !env->dst_rq->rd->overutilized) + goto out_balanced; + local = &sds.local_stat; busiest = &sds.busiest_stat;