]> Git Repo - linux.git/commitdiff
sched: rt-group: fix hierarchy
authorPeter Zijlstra <[email protected]>
Thu, 19 Jun 2008 07:06:56 +0000 (09:06 +0200)
committerIngo Molnar <[email protected]>
Thu, 19 Jun 2008 07:06:56 +0000 (09:06 +0200)
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 <[email protected]>
Tested-by: Daniel K. <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched.c

index 320e9a43d4cc0b34dbb846a110835c2d542c457d..ce375cb551e92de3941324556193137425281abe 100644 (file)
@@ -7628,7 +7628,6 @@ static void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq,
        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);
This page took 0.057362 seconds and 4 git commands to generate.