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

Commit 5003c472 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched/fair: Do load balancing of misfit task only when dst_cpu is idle"

parents b2c8946b 8832b80a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -10697,7 +10697,8 @@ static int need_active_balance(struct lb_env *env)
			return 1;
	}

	if (env->src_grp_type == group_misfit_task)
	if (env->idle != CPU_NOT_IDLE &&
			env->src_grp_type == group_misfit_task)
		return 1;

	if (env->src_grp_type == group_overloaded &&