summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/p4-clockmod.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-12-03 09:37:54 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-12-09 22:26:12 +0100
commitf08f638b9c7f1bf3cb9006d3d26bf568d807ede0 (patch)
tree5d2312f8f6f7f662332b53e26b9df77ca18547b1 /drivers/cpufreq/p4-clockmod.c
parent70f43e5e798c8818d97d8d6a9bd4cd3235af9686 (diff)
downloadlinux-f08f638b9c7f1bf3cb9006d3d26bf568d807ede0.tar.bz2
cpufreq: ondemand: update update_sampling_rate() to make it more efficient
Currently update_sampling_rate() runs over each online CPU and cancels/queues timers on all policy->cpus every time. This should be done just once for any cpu belonging to a policy. Create a cpumask and keep on clearing it as and when we process policies, so that we don't have to traverse through all CPUs of the same policy. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/p4-clockmod.c')
0 files changed, 0 insertions, 0 deletions