Messages in this thread | | | Date | Wed, 13 Dec 2017 12:13:46 +0100 | From | Juri Lelli <> | Subject | Re: [PATCH 1/4] cpufreq: schedutil: Initialize sg_cpu->flags to 0 |
| |
Hi Viresh,
On 13/12/17 15:23, Viresh Kumar wrote: > Initializing sg_cpu->flags to SCHED_CPUFREQ_RT has no obvious benefit. > The flags field wouldn't be used until the utilization update handler is > called for the first time, and once that is called we will overwrite > flags anyway. > > Initialize it to 0. > > Change-Id: I028dbb40c5c242cff52fe1b14aeaff37f29a2f8d
Without ^
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Juri Lelli <juri.lelli@redhat.com>
Best,
- Juri
| |