Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1691335

[PATCH V3 7/9] cpufreq: schedutil: Set dynamic_switching to true

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject [PATCH V3 7/9] cpufreq: schedutil: Set dynamic_switching to true
Date 2017-07-19 12:20 +0200
Message-ID <u4Ufi-79T-65@gated-at.bofh.it> (permalink)
References <u4Uff-79T-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Set dynamic_switching to 'true' to disallow use of schedutil governor
for platforms with transition_latency set to CPUFREQ_ETERNAL, as they
may not want to do automatic dynamic frequency switching.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 kernel/sched/cpufreq_schedutil.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c
index 89c4dd9777bb..45fcf21ad685 100644
--- a/kernel/sched/cpufreq_schedutil.c
+++ b/kernel/sched/cpufreq_schedutil.c
@@ -646,6 +646,7 @@ static void sugov_limits(struct cpufreq_policy *policy)
 static struct cpufreq_governor schedutil_gov = {
 	.name = "schedutil",
 	.owner = THIS_MODULE,
+	.dynamic_switching = true,
 	.init = sugov_init,
 	.exit = sugov_exit,
 	.start = sugov_start,
-- 
2.13.0.71.gd7076ec9c9cb

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH V3 7/9] cpufreq: schedutil: Set dynamic_switching to true Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-19 12:20 +0200

csiph-web