sched: su_gov: remove DL initial flag when starting governor
authorYoungtae Lee <yt0729.lee@samsung.com>
Fri, 19 Jan 2018 07:52:59 +0000 (16:52 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:30:22 +0000 (17:30 +0900)
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 <yt0729.lee@samsung.com>
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
kernel/sched/cpufreq_schedutil.c

index 7561b003d0f2254a3b1ba859f436625694a8aee6..1860ff391d2fb6ed86ef9442df09b5b6d3bf4a8a 100644 (file)
@@ -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;
        }