From: Jan H. Schönherr Date: Thu, 14 Jul 2011 16:32:43 +0000 (+0200) Subject: sched: Separate group-scheduling code more clearly X-Git-Tag: v3.1-rc1~298^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acb5a9ba3bd7cd8b3264f67a3789a9587d3b935b;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1310661163-16606-1-git-send-email-schnhrr@cs.tu-berlin.de Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed