lkml.org 
[lkml]   [2008]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 02/10] sched: rt-group: fix hierarchy
    Don't re-set the entity's runqueue to the wrong rq after we've set it
    to the right one.

    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Tested-by: Daniel K. <dk@uw.no>
    ---
    kernel/sched.c | 1 -
    1 file changed, 1 deletion(-)

    Index: linux-2.6/kernel/sched.c
    ===================================================================
    --- linux-2.6.orig/kernel/sched.c
    +++ linux-2.6/kernel/sched.c
    @@ -7626,7 +7626,6 @@ static void init_tg_rt_entry(struct task
    else
    rt_se->rt_rq = parent->my_q;

    - rt_se->rt_rq = &rq->rt;
    rt_se->my_q = rt_rq;
    rt_se->parent = parent;
    INIT_LIST_HEAD(&rt_se->run_list);
    --



    \
     
     \ /
      Last update: 2008-06-19 14:41    [W:0.019 / U:0.312 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site