From a6df80996844ae946742dd9da23ffb72506a7e64 Mon Sep 17 00:00:00 2001 From: Youngtae Lee Date: Fri, 19 Jan 2018 16:52:59 +0900 Subject: [PATCH] sched: su_gov: remove DL initial flag when starting governor In shared policy, DL initial flag could set max freq util flag removed by updating utilization so, remove this flag. Change-Id: Ib04def4e8d6d42cf3d3b65b71b048f10d1285a5c Signed-off-by: Youngtae Lee Signed-off-by: Park Bumgyu --- kernel/sched/cpufreq_schedutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index 7561b003d0f2..1860ff391d2f 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -814,7 +814,7 @@ static int sugov_start(struct cpufreq_policy *policy) memset(sg_cpu, 0, sizeof(*sg_cpu)); sg_cpu->cpu = cpu; sg_cpu->sg_policy = sg_policy; - sg_cpu->flags = SCHED_CPUFREQ_DL; + sg_cpu->flags = 0; sugov_start_slack(cpu); sg_cpu->iowait_boost_max = policy->cpuinfo.max_freq; } -- 2.20.1