|
@@ -1506,7 +1506,7 @@ static void task_woken_dl(struct rq *rq, struct task_struct *p)
|
|
p->nr_cpus_allowed > 1 &&
|
|
p->nr_cpus_allowed > 1 &&
|
|
dl_task(rq->curr) &&
|
|
dl_task(rq->curr) &&
|
|
(rq->curr->nr_cpus_allowed < 2 ||
|
|
(rq->curr->nr_cpus_allowed < 2 ||
|
|
- dl_entity_preempt(&rq->curr->dl, &p->dl))) {
|
|
|
|
|
|
+ !dl_entity_preempt(&p->dl, &rq->curr->dl))) {
|
|
push_dl_tasks(rq);
|
|
push_dl_tasks(rq);
|
|
}
|
|
}
|
|
}
|
|
}
|