Re: [PATCH RESEND] cpufreq: schedutil: Use idle_calls counter of the remote CPU

From: Rafael J. Wysocki
Date: Wed Dec 20 2017 - 09:46:12 EST


On Tuesday, December 19, 2017 8:32:09 PM CET Joel Fernandes wrote:
> On Tue, Dec 19, 2017 at 10:48 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> > On Tue, Dec 19, 2017 at 09:47:12AM -0800, Joel Fernandes wrote:
> >> Since the recent remote cpufreq callback work, its possible that a cpufreq
> >> update is triggered from a remote CPU. For single policies however, the current
> >> code uses the local CPU when trying to determine if the remote sg_cpu entered
> >> idle or is busy. This is incorrect. To remedy this, compare with the nohz tick
> >> idle_calls counter of the remote CPU.
> >>
> >> Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> >> Signed-off-by: Joel Fernandes <joelaf@xxxxxxxxxx>
> >
> > Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
>
> Sweet!

OK, so any chance to get a Fixes: tag for the patch?

Thanks,
Rafael