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

Commit bcc14b58 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched: Improve the scheduler



This change is for general scheduler improvement.

Change-Id: Ifffa83691bb23fe78dab5ae606939649d1b18777
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 72a3871c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -6577,8 +6577,9 @@ static void walt_find_best_target(struct sched_domain *sd, cpumask_t *cpus,
				most_spare_cap_cpu = i;
			}

			if (per_task_boost(cpu_rq(i)->curr) ==
					TASK_BOOST_STRICT_MAX)
			if ((per_task_boost(cpu_rq(i)->curr) ==
					TASK_BOOST_STRICT_MAX) &&
					!fbt_env->strict_max)
				continue;
			/*
			 * Cumulative demand may already be accounting for the