Re: [RFC PATCH 14/14] sched: implement usage tracking

From: Peter Zijlstra
Date: Thu Feb 16 2012 - 08:38:07 EST


On Wed, 2012-02-01 at 17:38 -0800, Paul Turner wrote:
> static inline void update_rq_runnable_avg(struct rq *rq, int runnable)
> {
> - __update_entity_runnable_avg(rq->clock_task, &rq->avg, runnable);
> + __update_entity_runnable_avg(rq->clock_task, &rq->avg, runnable,
> + runnable);

Its not immediately obvious why we use @runnable for @running,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/