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

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

Merge "sched: don't bias towards waker cluster when sched_boost is set"

parents 1ff56658 a54b6930
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3056,7 +3056,8 @@ bias_to_prev_cpu(struct cpu_select_env *env, struct cluster_cpu_stats *stats)
static inline bool
wake_to_waker_cluster(struct cpu_select_env *env)
{
	return !env->need_idle && !env->reason && env->sync &&
	return env->boost_type == SCHED_BOOST_NONE &&
	       !env->need_idle && !env->reason && env->sync &&
	       task_load(current) > sched_big_waker_task_load &&
	       task_load(env->p) < sched_small_wakee_task_load;
}