mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
sched/fair: Improve the scheduler
This change is for general scheduler improvements. Change-Id: I488483a68f9be9bb36a780d84d696554c4363081 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
This commit is contained in:
parent
b38b5109bf
commit
b687bb51c2
1 changed files with 3 additions and 1 deletions
|
|
@ -3858,7 +3858,9 @@ static inline bool task_fits_max(struct task_struct *p, int cpu)
|
|||
|
||||
if (is_min_capacity_cpu(cpu)) {
|
||||
if (task_boost_policy(p) == SCHED_BOOST_ON_BIG ||
|
||||
task_boost > 0)
|
||||
task_boost > 0 ||
|
||||
uclamp_boosted(p) ||
|
||||
walt_should_kick_upmigrate(p, cpu))
|
||||
return false;
|
||||
} else { /* mid cap cpu */
|
||||
if (task_boost > TASK_BOOST_ON_MID)
|
||||
|
|
|
|||
Loading…
Reference in a new issue