sched/walt: Improve the scheduler

This change is for general scheduler improvement.

Change-Id: I17cca453e5a4e6bbf4d0b55440d9f776dc2583cb
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
This commit is contained in:
Abhijeet Dharmapurikar 2021-08-24 09:46:03 -07:00 committed by Gerrit - the friendly Code Review server
parent ad5c648756
commit ebbfc8d0bf

View File

@ -200,7 +200,7 @@ static void sched_boost_disable(int type)
* be disabled. Disable it first and then apply
* the next boost.
*/
sb->exit();
sched_boosts[prev_boost].exit();
sched_boosts[next_boost].enter();
}