Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76181
b: refs/heads/master
c: 614ee1f
h: refs/heads/master
i:
  76179: 0d6144c
v: v3
  • Loading branch information
Mike Galbraith authored and Ingo Molnar committed Jan 25, 2008
1 parent f0bd39c commit f055322
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f505b16425a51270058e4a93441fe64de3dd435
refs/heads/master: 614ee1f61f667b02165c1ae0c1357048dc6d94a0
10 changes: 4 additions & 6 deletions trunk/kernel/sched_rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -877,10 +877,8 @@ static int pull_rt_task(struct rq *this_rq)
/*
* Are there still pullable RT tasks?
*/
if (src_rq->rt.rt_nr_running <= 1) {
spin_unlock(&src_rq->lock);
continue;
}
if (src_rq->rt.rt_nr_running <= 1)
goto skip;

p = pick_next_highest_task_rt(src_rq, this_cpu);

Expand All @@ -904,7 +902,7 @@ static int pull_rt_task(struct rq *this_rq)
*/
if (p->prio < src_rq->curr->prio ||
(next && next->prio < src_rq->curr->prio))
goto out;
goto skip;

ret = 1;

Expand All @@ -924,7 +922,7 @@ static int pull_rt_task(struct rq *this_rq)
next = p;

}
out:
skip:
spin_unlock(&src_rq->lock);
}

Expand Down

0 comments on commit f055322

Please sign in to comment.