Re: [PATCH] cpufreq: schedutil: Examine the correct CPU when we update util

2017-11-02 Thread Viresh Kumar
On 02-11-17, 10:54, Chris Redpath wrote: > Since: > > 4296f23ed cpufreq: schedutil: Fix per-CPU structure initialization in > sugov_start() Good catch but you pointed out to the wrong commit really. 674e75411fc2 ("sched: cpufreq: Allow remote cpufreq callbacks" is the real culprit as that's wh

[PATCH] cpufreq: schedutil: Examine the correct CPU when we update util

2017-11-02 Thread Chris Redpath
Since: 4296f23ed cpufreq: schedutil: Fix per-CPU structure initialization in sugov_start() We lost the value of sg_cpu->cpu which is assigned during sugov_register. The memset in sugov_start overwrites it with zero. This leads to always looking at the utilization of CPU0 instead of the one we j