|
@@ -1665,14 +1665,6 @@ static void switched_to_dl(struct rq *rq, struct task_struct *p)
|
|
|
{
|
|
|
int check_resched = 1;
|
|
|
|
|
|
- /*
|
|
|
- * If p is throttled, don't consider the possibility
|
|
|
- * of preempting rq->curr, the check will be done right
|
|
|
- * after its runtime will get replenished.
|
|
|
- */
|
|
|
- if (unlikely(p->dl.dl_throttled))
|
|
|
- return;
|
|
|
-
|
|
|
if (task_on_rq_queued(p) && rq->curr != p) {
|
|
|
#ifdef CONFIG_SMP
|
|
|
if (p->nr_cpus_allowed > 1 && rq->dl.overloaded &&
|