On Mon, May 6, 2013 at 1:49 AM, Alex Shi <[email protected]> wrote: > On 05/06/2013 04:24 PM, Paul Turner wrote: >>> > /* >>> > * CFS Load tracking >>> > * Under CFS, load is tracked on a per-entity basis and >>> > aggregated up. >>> > @@ -242,8 +236,7 @@ struct cfs_rq { >>> > u64 runnable_load_avg, blocked_load_avg; >>> > atomic64_t decay_counter, removed_load; >>> > u64 last_decay; >>> > -#endif /* CONFIG_FAIR_GROUP_SCHED */ >>> > -/* These always depend on CONFIG_FAIR_GROUP_SCHED */ >> We should perhaps replace this with a comment that these are only >> needed to aggregate the point-wise representation in the >> FAIR_GROUP_SCHED case. >> > > Is the comments ok? :) > > /* runnable related variables only used in FAIR_GROUP_SCHED */
Perhaps: -/* These always depend on CONFIG_FAIR_GROUP_SCHED */ #ifdef ... +/* Required to track per-cpu representation of a task_group */ > > -- > Thanks > Alex -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

