summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJan H. Schönherr <schnhrr@cs.tu-berlin.de>2011-07-14 18:32:43 +0200
committerIngo Molnar <mingo@elte.hu>2011-07-21 18:01:54 +0200
commitacb5a9ba3bd7cd8b3264f67a3789a9587d3b935b (patch)
treeaa384f35760185200183a0a6f53ec8e4ce1d553f /init
parent26a148eb9c790149750f7e77da0d96029443d400 (diff)
downloadop-kernel-dev-acb5a9ba3bd7cd8b3264f67a3789a9587d3b935b.zip
op-kernel-dev-acb5a9ba3bd7cd8b3264f67a3789a9587d3b935b.tar.gz
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: Jan H. Schönherr <schnhrr@cs.tu-berlin.de> Signed-off-by: Peter 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: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud