瀏覽代碼

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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Peter Zijlstra 17 年之前
父節點
當前提交
7ea56616ba
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      kernel/sched.c

+ 0 - 1
kernel/sched.c

@@ -7628,7 +7628,6 @@ static void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq,
 	else
 	else
 		rt_se->rt_rq = parent->my_q;
 		rt_se->rt_rq = parent->my_q;
 
 
-	rt_se->rt_rq = &rq->rt;
 	rt_se->my_q = rt_rq;
 	rt_se->my_q = rt_rq;
 	rt_se->parent = parent;
 	rt_se->parent = parent;
 	INIT_LIST_HEAD(&rt_se->run_list);
 	INIT_LIST_HEAD(&rt_se->run_list);