Loading kernel/sched_rt.c +4 −6 Original line number Original line Diff line number Diff line Loading @@ -877,10 +877,8 @@ static int pull_rt_task(struct rq *this_rq) /* /* * Are there still pullable RT tasks? * Are there still pullable RT tasks? */ */ if (src_rq->rt.rt_nr_running <= 1) { if (src_rq->rt.rt_nr_running <= 1) spin_unlock(&src_rq->lock); goto skip; continue; } p = pick_next_highest_task_rt(src_rq, this_cpu); p = pick_next_highest_task_rt(src_rq, this_cpu); Loading @@ -904,7 +902,7 @@ static int pull_rt_task(struct rq *this_rq) */ */ if (p->prio < src_rq->curr->prio || if (p->prio < src_rq->curr->prio || (next && next->prio < src_rq->curr->prio)) (next && next->prio < src_rq->curr->prio)) goto out; goto skip; ret = 1; ret = 1; Loading @@ -924,7 +922,7 @@ static int pull_rt_task(struct rq *this_rq) next = p; next = p; } } out: skip: spin_unlock(&src_rq->lock); spin_unlock(&src_rq->lock); } } Loading Loading
kernel/sched_rt.c +4 −6 Original line number Original line Diff line number Diff line Loading @@ -877,10 +877,8 @@ static int pull_rt_task(struct rq *this_rq) /* /* * Are there still pullable RT tasks? * Are there still pullable RT tasks? */ */ if (src_rq->rt.rt_nr_running <= 1) { if (src_rq->rt.rt_nr_running <= 1) spin_unlock(&src_rq->lock); goto skip; continue; } p = pick_next_highest_task_rt(src_rq, this_cpu); p = pick_next_highest_task_rt(src_rq, this_cpu); Loading @@ -904,7 +902,7 @@ static int pull_rt_task(struct rq *this_rq) */ */ if (p->prio < src_rq->curr->prio || if (p->prio < src_rq->curr->prio || (next && next->prio < src_rq->curr->prio)) (next && next->prio < src_rq->curr->prio)) goto out; goto skip; ret = 1; ret = 1; Loading @@ -924,7 +922,7 @@ static int pull_rt_task(struct rq *this_rq) next = p; next = p; } } out: skip: spin_unlock(&src_rq->lock); spin_unlock(&src_rq->lock); } } Loading