Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1518263
| From | Vincent Guittot <vincent.guittot@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 4/6 v7] sched: propagate load during synchronous attach/detach |
| Date | 2016-11-09 16:30 +0100 |
| Message-ID | <sBCZ4-Ei-11@gated-at.bofh.it> (permalink) |
| References | <sBbm9-7Et-3@gated-at.bofh.it> <sBbm9-7Et-1@gated-at.bofh.it> <sBCFI-xU-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 9 November 2016 at 16:03, Peter Zijlstra <peterz@infradead.org> 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 throttled, the flag will stay pending until >> the cfs_rq is unthrottled. >> >> For propagating the utilization, we copy the utilization of group cfs_rq to >> the sched_entity. >> >> For propagating the load, we have to take into account the load of the >> whole task group in order to evaluate the load of the sched_entity. >> Similarly to what was done before the rewrite of PELT, we add a correction >> factor in case the task group's load is greater than its share so it will >> contribute the same load of a task of equal weight. >> >> Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> >> --- > > > I did the below on top, that basically moves code about a bit to reduce > some #ifdef and kills a few comments that I thought were of the: > > i++; /* increment by one */ > > quality. OK. The changes look fine to me > [snip] >
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 4/6 v7] sched: propagate load during synchronous attach/detach Vincent Guittot <vincent.guittot@linaro.org> - 2016-11-08 11:00 +0100
Re: [PATCH 4/6 v7] sched: propagate load during synchronous attach/detach Peter Zijlstra <peterz@infradead.org> - 2016-11-09 16:10 +0100
Re: [PATCH 4/6 v7] sched: propagate load during synchronous attach/detach Vincent Guittot <vincent.guittot@linaro.org> - 2016-11-09 16:30 +0100
csiph-web