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

Commit 8ef226d0 authored by Biao Long's avatar Biao Long Committed by Gerrit - the friendly Code Review server
Browse files

Sched/fair: Improve the scheduler



This change is for general scheduler improvement.

Change-Id: Ib6a2f2f6888aa17929b7149b7d9e4e25593b0785
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: default avatarBiao Long <blong@codeaurora.org>
parent 771efa0c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -6969,6 +6969,9 @@ static void 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)
				continue;
			/*
			 * Cumulative demand may already be accounting for the
			 * task. If so, add just the boost-utilization to