Re: [PATCH v6 3/6] sched: add utilization_avg_contrib

Vincent Guittot
2014-10-03T14:51:24Z

On 3 October 2014 16:36, Peter Zijlstra <peterz@infradead.org> wrote:
>
>> + * utilization_load_avg is the sum of the average running time of the
>> + * sched_entities on the rq.
>> */
>
> So I think there was some talk about a blocked_utilization thingy, which
> would track the avg running time of the tasks currently asleep, right?
>

yes. Do you mean that we should anticipate and rename
utilization_load_avg into utilization_runnable_avg to make space for a
utilization_blocked_avg that could be added in future ?

>> + unsigned long runnable_load_avg, blocked_load_avg, utilization_load_avg;
>> atomic64_t decay_counter;
>> u64 last_decay;
>> atomic_long_t removed_load;