diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-07-19 13:12:46 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-07-26 01:15:45 +0300 |
commit | ed4676e254630c1f00a4fc8f3821890fff7e3643 (patch) | |
tree | 5cedac1abae32d5bbdde7585bbe915ff036c581c /kernel/sched/cpufreq_schedutil.c | |
parent | 768608a578255c0add26bfdcb720d320eca1556b (diff) | |
download | linux-ed4676e254630c1f00a4fc8f3821890fff7e3643.tar.xz |
cpufreq: Replace "max_transition_latency" with "dynamic_switching"
There is no limitation in the ondemand or conservative governors which
disallow the transition_latency to be greater than 10 ms.
The max_transition_latency field is rather used to disallow automatic
dynamic frequency switching for platforms which didn't wanted these
governors to run.
Replace max_transition_latency with a boolean (dynamic_switching) and
check for transition_latency == CPUFREQ_ETERNAL along with that. This
makes it pretty straight forward to read/understand now.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/sched/cpufreq_schedutil.c')
0 files changed, 0 insertions, 0 deletions