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.