mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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:
parent
72a3871cee
commit
bcc14b586c
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue