Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1678190
| From | "Rafael J. Wysocki" <rafael@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] cpuidle: menu: allow state 0 to be disabled |
| Date | 2017-06-29 23:00 +0200 |
| Message-ID | <tXOHD-49X-13@gated-at.bofh.it> (permalink) |
| References | <tWuUH-6FZ-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jun 26, 2017 at 7:38 AM, Nicholas Piggin <npiggin@gmail.com> wrote: > The menu driver does not allow state0 to be disabled completely. > If it is disabled but other enabled states don't meet latency > requirements, it is still used. > > Fix this by starting with the first enabled idle state. Fall back > to state 0 if no idle states are enabled (arguably this should be > -EINVAL if it is attempted, but this is the minimal fix). > > Acked-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com> > Signed-off-by: Nicholas Piggin <npiggin@gmail.com> > --- > > Hi Rafael, Hi Nick, > This patch is helpful when measuring power draw of polling, > latency cost of idle states, etc. Please consider merging if > you agree. I have a slight concern about x86 where state0 is mapped to polling and the way it is used in general stems from that. Still, I guess we can try and see if this causes any problems to happen in practice, so I'm going to apply it. Thanks, Rafael
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] cpuidle: menu: allow state 0 to be disabled Nicholas Piggin <npiggin@gmail.com> - 2017-06-26 07:40 +0200
Re: [PATCH] cpuidle: menu: allow state 0 to be disabled "Rafael J. Wysocki" <rafael@kernel.org> - 2017-06-29 23:00 +0200
Re: [PATCH] cpuidle: menu: allow state 0 to be disabled Nicholas Piggin <npiggin@gmail.com> - 2017-06-30 10:40 +0200
csiph-web