mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
sched/walt: Improve the scheduler
This change is for general scheduler improvement. Change-Id: Iffd4ae221581aaa4aeb244a0cddd40a8b6aac74d Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
This commit is contained in:
parent
66317940e6
commit
a9b383db70
|
|
@ -205,7 +205,9 @@ static void walt_lb_check_for_rotation(struct rq *src_rq)
|
|||
|
||||
double_rq_lock(src_rq, dst_rq);
|
||||
if (walt_fair_task(dst_rq->curr) &&
|
||||
!src_rq->active_balance && !dst_rq->active_balance) {
|
||||
!src_rq->active_balance && !dst_rq->active_balance &&
|
||||
cpumask_test_cpu(dst_cpu, src_rq->curr->cpus_ptr) &&
|
||||
cpumask_test_cpu(src_cpu, dst_rq->curr->cpus_ptr)) {
|
||||
get_task_struct(src_rq->curr);
|
||||
get_task_struct(dst_rq->curr);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user