Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1489106
| From | bsegall@google.com |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class |
| Date | 2016-09-22 19:20 +0200 |
| Message-ID | <skfPc-Kt-13@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <si0hz-4BJ-9@gated-at.bofh.it> <si2jo-5SZ-35@gated-at.bofh.it> <sjrSp-2rY-11@gated-at.bofh.it> <sjwyP-5zq-7@gated-at.bofh.it> <sk7HX-3Yu-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Peter Zijlstra <peterz@infradead.org> writes: > On Tue, Sep 20, 2016 at 09:59:08AM -0700, bsegall@google.com wrote: >> Peter Zijlstra <peterz@infradead.org> writes: >> > Google has this patch-set replacing min_vruntime with an actual global >> > 0-lag, which greatly simplifies things. If only they'd post it sometime >> > :/ /me prods pjt and ben with a sharp stick :-) >> > >> >> No, we don't have any patches like that. I wish, we've screwed up >> vruntime a couple of times too. > > Hurm, I was sure you guys were doing something entirely different from > what mainline does. > > IIRC Andrew Hunter was 'working' on getting that posted. See also: > lkml.kernel.org/r/CADroS=6Ncpao6WWXBxboB6quqUP96EnjbsDUZqNgASd_PzDGaA@mail.gmail.com Oh, I was looking at the wrong branches. Sigh. Yeah, we just do an unlocked "se->vruntime -= old->min_vruntime - new->min_vruntime;" in migrate, and remove/add it in switched_from/switched_to_fair. This still isn't replacing min_vruntime with anything cool, perhaps you and Andrew were using opposite definitions of relative here - we have fair tasks always having a vruntime that is relative to min_vruntime, rather than temporarily having the 0-based one when doing non-SLEEP/WAKEUP.
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