Messages in this thread | | | Subject | Re: [PATCH 3/6] sched: Avoid redundant initialization of runqueues | From | Peter Zijlstra <> | Date | Wed, 13 Jul 2011 22:47:43 +0200 |
| |
On Wed, 2011-07-13 at 20:13 +0200, Jan H. Schönherr wrote: > Within sched_init() the functions init_{cfs,rt}_rq() are called > unconditionally. However, when group scheduling is enabled, those calls > are also done in init_tg_{cfs,rt}_entry(). > > To avoid this redundant initialization, the direct calls within > sched_init() to init_{cfs,rt}_rq() are dropped in case of enabled group > scheduling.
But it adds #ifdef muck..
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |