mirror of
https://github.com/torvalds/linux.git
synced 2026-08-02 13:22:02 +02:00
Sched/walt/walt_cfs: Improve the scheduler
This change is for general scheduler improvemnts. Change-Id: Ic1b53470b3ebc9a8c2d34d34200c4b671af95840 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
This commit is contained in:
parent
1a9ac70efd
commit
179319a53c
|
|
@ -312,6 +312,10 @@ static void walt_find_best_target(struct sched_domain *sd,
|
|||
if (fbt_env->skip_cpu == i)
|
||||
continue;
|
||||
|
||||
if (per_task_boost(cpu_rq(i)->curr) ==
|
||||
TASK_BOOST_STRICT_MAX)
|
||||
continue;
|
||||
|
||||
/*
|
||||
* p's blocked utilization is still accounted for on prev_cpu
|
||||
* so prev_cpu will receive a negative bias due to the double
|
||||
|
|
@ -387,10 +391,6 @@ static void walt_find_best_target(struct sched_domain *sd,
|
|||
if (best_idle_cpu_cluster != -1)
|
||||
continue;
|
||||
|
||||
if (per_task_boost(cpu_rq(i)->curr) ==
|
||||
TASK_BOOST_STRICT_MAX)
|
||||
continue;
|
||||
|
||||
/*
|
||||
* Compute the maximum possible capacity we expect
|
||||
* to have available on this CPU once the task is
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user