lkml.org 
[lkml]   [2012]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH 14/14] sched: implement usage tracking
From
Date
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,


\
 
 \ /
  Last update: 2012-02-16 14:41    [from the cache]
©2003-2011 Jasper Spaans