aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/deadline.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index 0a81a954c041..24c18dc10fd7 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -1665,14 +1665,6 @@ static void switched_to_dl(struct rq *rq, struct task_struct *p)
1665{ 1665{
1666 int check_resched = 1; 1666 int check_resched = 1;
1667 1667
1668 /*
1669 * If p is throttled, don't consider the possibility
1670 * of preempting rq->curr, the check will be done right
1671 * after its runtime will get replenished.
1672 */
1673 if (unlikely(p->dl.dl_throttled))
1674 return;
1675
1676 if (task_on_rq_queued(p) && rq->curr != p) { 1668 if (task_on_rq_queued(p) && rq->curr != p) {
1677#ifdef CONFIG_SMP 1669#ifdef CONFIG_SMP
1678 if (p->nr_cpus_allowed > 1 && rq->dl.overloaded && 1670 if (p->nr_cpus_allowed > 1 && rq->dl.overloaded &&