Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1692016
| From | Dominik Brodowski <linux@dominikbrodowski.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V3 8/9] cpufreq: Add CPUFREQ_NO_AUTO_DYNAMIC_SWITCHING cpufreq driver flag |
| Date | 2017-07-19 18:40 +0200 |
| Message-ID | <u50b0-2KR-3@gated-at.bofh.it> (permalink) |
| References | <u4Uff-79T-5@gated-at.bofh.it> <u4Ufh-79T-41@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Wed, Jul 19, 2017 at 03:42:48PM +0530, Viresh Kumar wrote: > The policy->transition_latency field is used for multiple purposes > today and its not straight forward at all. This is how it is used: > > A. Set the correct transition_latency value. > > B. Set it to CPUFREQ_ETERNAL because: > 1. We don't want automatic dynamic switching (with > ondemand/conservative) to happen at all. > 2. We don't know the transition latency. > > This patch handles the B.1. case in a more readable way. A new flag for > the cpufreq drivers is added to disallow use of cpufreq governors which > have dynamic_switching flag set. > > All the current cpufreq drivers which are setting transition_latency > unconditionally to CPUFREQ_ETERNAL are updated to use it. They don't > need to set transition_latency anymore. > > There shouldn't be any functional change after this patch. > > Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Looks good to me, so feel free to add: Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net> Best, Dominik
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH V3 8/9] cpufreq: Add CPUFREQ_NO_AUTO_DYNAMIC_SWITCHING cpufreq driver flag Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-19 12:20 +0200 Re: [PATCH V3 8/9] cpufreq: Add CPUFREQ_NO_AUTO_DYNAMIC_SWITCHING cpufreq driver flag Dominik Brodowski <linux@dominikbrodowski.net> - 2017-07-19 18:40 +0200
csiph-web