]> Git Repo - linux.git/commit
cpufreq: intel_pstate: Replace timers with utilization update callbacks
authorRafael J. Wysocki <[email protected]>
Fri, 5 Feb 2016 00:45:30 +0000 (01:45 +0100)
committerRafael J. Wysocki <[email protected]>
Wed, 9 Mar 2016 13:40:52 +0000 (14:40 +0100)
commita4675fbc4a7abe072ac6ba38c252f22a91ebcd94
treeebdf3fb59ee26392b5bfd1291f3c99e980c9ce5e
parent34e2c555f3e13c90e9284e23d00f03be8a6e06c5
cpufreq: intel_pstate: Replace timers with utilization update callbacks

Instead of using a per-CPU deferrable timer for utilization sampling
and P-states adjustments, 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, so the functional impact of this patch should not be significant.

Based on an earlier patch from Srinivas Pandruvada.

Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Srinivas Pandruvada <[email protected]>
drivers/cpufreq/intel_pstate.c
This page took 0.0533 seconds and 4 git commands to generate.