If the idle cpu(CPU_NEWLY_IDLE/CPU_IDLE) performs load balancing,
the group is considered an overload group if the group has more
tasks than it can handle.
Change-Id: I25ae84ade65321234ee6e306e7234a238d8e2183
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
if (sgs->sum_nr_running <= sgs->group_weight)
return false;
+ if (env->idle == CPU_NEWLY_IDLE || env->idle == CPU_IDLE)
+ return true;
+
if ((sgs->group_capacity * 100) <
(sgs->group_util * env->sd->imbalance_pct))
return true;