[PATCH] sched: fix wrong task group's load_avg

2016-10-19 Thread Vincent Guittot
A regression has been reported with: commit 3d30544f0212 ("sched/fair: Apply more PELT fixes) when several level of task groups are involved and cpu_possible_mask != cpu_present_mask. The root cause is that group entity's load (tg_child->se[i]->avg.load_avg) is initialized to

[PATCH] sched: fix wrong task group's load_avg

2016-10-19 Thread Vincent Guittot
A regression has been reported with: commit 3d30544f0212 ("sched/fair: Apply more PELT fixes) when several level of task groups are involved and cpu_possible_mask != cpu_present_mask. The root cause is that group entity's load (tg_child->se[i]->avg.load_avg) is initialized to