Re: [PATCH 3/3 v5] cpufreq: governor: Replace timers with utilization update callbacks
From: Gautham R Shenoy
Date: Tue Feb 09 2016 - 05:01:45 EST
Hello Rafael,
On Sun, Feb 07, 2016 at 03:50:31PM +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> Instead of using a per-CPU deferrable timer for queuing up governor
> work items, register a utilization update callback that will be
> invoked from the scheduler on utilization changes.
>
> The sampling rate is still the same as what was used for the
> deferrable timers and the added irq_work overhead should be offset by
> the eliminated timers overhead, so in theory the functional impact of
> this patch should not be significant.
I tested this patch series (including v5 of PATCH 3) on POWER with
Viresh's CPUFreq test suite. I didn't see any issues with the
patchset except for a lockdep splat involving "s_active" and
"od_dbs_cdata.mutex", which was also observed on 4.5-rc3 and which
was fixed by Viresh's recent patches.
With a kernbench run, there were no regression when compared to 4.5-rc3.
FWIW, Tested-by: Gautham R. Shenoy <ego@xxxxxxxxxxxxxxxxxx>
>
> Thanks,
> Rafael
--
Thanks and Regards
gautham.