Message ID | 1431459549-18343-33-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 fe41e1e..83218e0 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -7340,6 +7340,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;