Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1484180
| From | Vincent Guittot <vincent.guittot@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/7 v3] sched: factorize PELT update |
| Date | 2016-09-15 15:40 +0200 |
| Message-ID | <shF3s-7Ca-39@gated-at.bofh.it> (permalink) |
| References | <sgua5-jn-5@gated-at.bofh.it> <sgua6-jn-39@gated-at.bofh.it> <shEK6-7vq-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 15 September 2016 at 15:09, Peter Zijlstra <peterz@infradead.org> wrote: > On Mon, Sep 12, 2016 at 09:47:48AM +0200, Vincent Guittot wrote: >> @@ -3690,7 +3658,7 @@ entity_tick(struct cfs_rq *cfs_rq, struct sched_entity *curr, int queued) >> /* >> * Ensure that runnable average is periodically updated. >> */ >> - update_load_avg(curr, 1); >> + update_load_avg(curr, 1, 0); >> update_cfs_shares(cfs_rq); >> > > I would find something like: update_load_avg(curr, UPDATE_TG), eg, make > the second argument a bitflag instead of two arguments, much more > readable. OK, I'm going to use bitflag > > Do however check that it doesn't generate retarded code if you do that. OK
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/7 v3] sched: reflect sched_entity move into task_group's load Vincent Guittot <vincent.guittot@linaro.org> - 2016-09-12 09:50 +0200
[PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class Vincent Guittot <vincent.guittot@linaro.org> - 2016-09-12 09:50 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class Peter Zijlstra <peterz@infradead.org> - 2016-09-15 15:20 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class Vincent Guittot <vincent.guittot@linaro.org> - 2016-09-15 17:40 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class Peter Zijlstra <peterz@infradead.org> - 2016-09-16 14:20 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class Vincent Guittot <vincent.guittot@linaro.org> - 2016-09-16 16:30 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class Peter Zijlstra <peterz@infradead.org> - 2016-09-20 14:00 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class Vincent Guittot <vincent.guittot@linaro.org> - 2016-09-20 15:10 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class Peter Zijlstra <peterz@infradead.org> - 2016-09-22 14:30 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class bsegall@google.com - 2016-09-20 19:00 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class Peter Zijlstra <peterz@infradead.org> - 2016-09-22 10:40 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class bsegall@google.com - 2016-09-22 19:20 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class Peter Zijlstra <peterz@infradead.org> - 2016-09-16 13:00 +0200
Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class Vincent Guittot <vincent.guittot@linaro.org> - 2016-09-16 14:50 +0200
[PATCH 1/7 v3] sched: factorize attach entity Vincent Guittot <vincent.guittot@linaro.org> - 2016-09-12 09:50 +0200
[PATCH 3/7 v3] sched: factorize PELT update Vincent Guittot <vincent.guittot@linaro.org> - 2016-09-12 09:50 +0200
Re: [PATCH 3/7 v3] sched: factorize PELT update Peter Zijlstra <peterz@infradead.org> - 2016-09-15 15:20 +0200
Re: [PATCH 3/7 v3] sched: factorize PELT update Vincent Guittot <vincent.guittot@linaro.org> - 2016-09-15 15:40 +0200
[PATCH 6/7 v3] sched: fix task group initialization Vincent Guittot <vincent.guittot@linaro.org> - 2016-09-12 09:50 +0200
csiph-web