lkml.org 
[lkml]   [2016]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/6 v5] sched: factorize PELT update
    On Mon, Oct 17, 2016 at 11:14:10AM +0200, Vincent Guittot wrote:
    > @@ -3110,11 +3116,12 @@ static inline void update_load_avg(struct sched_entity *se, int update_tg)
    > * Track task load average for carrying it to new CPU after migrated, and
    > * track group sched_entity load average for task_h_load calc in migration
    > */
    > - __update_load_avg(now, cpu, &se->avg,
    > + if (se->avg.last_update_time && !(flags & SKIP_AGE_LOAD))
    > + __update_load_avg(now, cpu, &se->avg,
    > se->on_rq * scale_load_down(se->load.weight),
    > cfs_rq->curr == se, NULL);
    >

    { } for any multi line stmt pls.

    \
     
     \ /
      Last update: 2016-10-26 13:42    [W:5.058 / U:0.564 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site