Messages in this thread Patch in this message | | | Date | Tue, 25 Feb 2014 21:52:53 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH] sched: put rq's sched_avg under CONFIG_FAIR_GROUP_SCHED |
| |
On Tue, Feb 25, 2014 at 11:47:42AM +0000, Dietmar Eggemann wrote: > +++ b/kernel/sched/sched.h > @@ -630,7 +630,9 @@ struct rq { > struct llist_head wake_list; > #endif > > +#ifdef CONFIG_FAIR_GROUP_SCHED > struct sched_avg avg; > +#endif > };
There is already a CONFIG_FAIR_GROUP_SCHED #ifdef in that structure; does it make sense to move this variable in there instead of adding yet another #ifdef?
| |