sched: Improve the scheduler

This change is for general scheduler improvement.

Change-Id: Ifffa83691bb23fe78dab5ae606939649d1b18777
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
This commit is contained in:
Pavankumar Kondeti 2020-06-02 17:28:59 +05:30
commit bcc14b586c

View file

@ -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