Skip to content
Commit acb5a9ba authored by Jan H. Schönherr's avatar Jan H. Schönherr Committed by Ingo Molnar
Browse files

sched: Separate group-scheduling code more clearly



Clean up cfs/rt runqueue initialization by moving group scheduling
related code into the corresponding functions.

Also, keep group scheduling as an add-on, so that things are only done
additionally, i. e. remove the init_*_rq() calls from init_tg_*_entry().
(This removes a redundant initalization during sched_init()).

In case of group scheduling rt_rq->highest_prio.curr is now initialized
twice, but adding another #ifdef seems not worth it.

Signed-off-by: default avatarJan H. Schönherr <schnhrr@cs.tu-berlin.de>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1310661163-16606-1-git-send-email-schnhrr@cs.tu-berlin.de
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 26a148eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment