Re: [PATCH 4/6 v7] sched: propagate load during synchronous attach/detach

2016-11-09 Thread Vincent Guittot
On 9 November 2016 at 16:03, Peter Zijlstra wrote: > On Tue, Nov 08, 2016 at 10:53:45AM +0100, Vincent Guittot wrote: >> When a task moves from/to a cfs_rq, we set a flag which is then used to >> propagate the change at parent level (sched_entity and cfs_rq) during >> next update. If the cfs_rq is

Re: [PATCH 4/6 v7] sched: propagate load during synchronous attach/detach

2016-11-09 Thread Peter Zijlstra
On Tue, Nov 08, 2016 at 10:53:45AM +0100, Vincent Guittot wrote: > When a task moves from/to a cfs_rq, we set a flag which is then used to > propagate the change at parent level (sched_entity and cfs_rq) during > next update. If the cfs_rq is throttled, the flag will stay pending until > the cfs_rq

[PATCH 4/6 v7] sched: propagate load during synchronous attach/detach

2016-11-08 Thread Vincent Guittot
When a task moves from/to a cfs_rq, we set a flag which is then used to propagate the change at parent level (sched_entity and cfs_rq) during next update. If the cfs_rq is throttled, the flag will stay pending until the cfs_rq is unthrottled. For propagating the utilization, we copy the utilizatio