Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=614ee1f61f667b02165c1ae0c1357048dc6d94a0
Commit:     614ee1f61f667b02165c1ae0c1357048dc6d94a0
Parent:     6f505b16425a51270058e4a93441fe64de3dd435
Author:     Mike Galbraith <[EMAIL PROTECTED]>
AuthorDate: Fri Jan 25 21:08:30 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 21:08:30 2008 +0100

    sched: pull_rt_task() cleanup
    
    "goto out" is an odd way to spell "skip".
    
    Signed-off-by: Mike Galbraith <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
---
 kernel/sched_rt.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index 1178257..1144bf5 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -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);
 
@@ -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;
 
@@ -924,7 +922,7 @@ static int pull_rt_task(struct rq *this_rq)
                        next = p;
 
                }
- out:
+ skip:
                spin_unlock(&src_rq->lock);
        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to