mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 20:22:08 +02:00
sched: walt: Improve the scheduler
This change is for general scheduler improvements. Change-Id: Ia2854ae8701151761fe0780b6451133ab09a050b Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org> Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org> Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
This commit is contained in:
parent
71f5d6022e
commit
6bff8ea110
|
|
@ -505,6 +505,9 @@ void walt_lb_tick(struct rq *rq)
|
|||
struct walt_rq *wrq = (struct walt_rq *) rq->android_vendor_data1;
|
||||
struct walt_task_struct *wts = (struct walt_task_struct *) p->android_vendor_data1;
|
||||
|
||||
if (available_idle_cpu(prev_cpu) && is_reserved(prev_cpu))
|
||||
clear_reserved(prev_cpu);
|
||||
|
||||
if (!walt_fair_task(p))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user