Messages in this thread | | | From | Paul Turner <> | Date | Mon, 6 May 2013 01:55:31 -0700 | Subject | Re: [PATCH v5 1/7] Revert "sched: Introduce temporary FAIR_GROUP_SCHED dependency for load-tracking" |
| |
On Mon, May 6, 2013 at 1:49 AM, Alex Shi <alex.shi@intel.com> 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
| |