Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1392415 > unrolled thread
| Started by | John Stultz <john.stultz@linaro.org> |
|---|---|
| First post | 2016-05-02 19:50 +0200 |
| Last post | 2016-05-03 05:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] Make clocksource insert entry more efficiently John Stultz <john.stultz@linaro.org> - 2016-05-02 19:50 +0200
Re: [PATCH] Make clocksource insert entry more efficiently Minfei Huang <mnghuan@gmail.com> - 2016-05-03 05:40 +0200
| From | John Stultz <john.stultz@linaro.org> |
|---|---|
| Date | 2016-05-02 19:50 +0200 |
| Subject | Re: [PATCH] Make clocksource insert entry more efficiently |
| Message-ID | <ruq8Q-7OL-25@gated-at.bofh.it> |
On Mon, Apr 25, 2016 at 2:20 AM, Minfei Huang <mnghuan@gmail.com> wrote: > It is unnecessary to continue looping the list, if we find there is an > entry that the value of rating is smaller than the new one. It is safe > to be out the loop, because all of entry are inserted in descending > order. > > Signed-off-by: Minfei Huang <mnghuan@gmail.com> > --- Thanks for sending this in. It looks reasonable to me, though not likely to gain a ton, as these are usually short lists, and we only really tinker with them at bootup. But yea. I'll put it on my toqueue list for testing. Its maybe a little close to make it for 4.7, but we'll see. Thanks again! -john
[toc] | [next] | [standalone]
| From | Minfei Huang <mnghuan@gmail.com> |
|---|---|
| Date | 2016-05-03 05:40 +0200 |
| Message-ID | <ruzlL-ir-7@gated-at.bofh.it> |
| In reply to | #1392415 |
On 05/02/16 at 10:39P, John Stultz wrote: > On Mon, Apr 25, 2016 at 2:20 AM, Minfei Huang <mnghuan@gmail.com> wrote: > > It is unnecessary to continue looping the list, if we find there is an > > entry that the value of rating is smaller than the new one. It is safe > > to be out the loop, because all of entry are inserted in descending > > order. > > > > Signed-off-by: Minfei Huang <mnghuan@gmail.com> > > --- > > Thanks for sending this in. It looks reasonable to me, though not > likely to gain a ton, as these are usually short lists, and we only > really tinker with them at bootup. But yea. I'll put it on my toqueue > list for testing. > > Its maybe a little close to make it for 4.7, but we'll see. > > Thanks again! > -john Thanks Minfei
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web