diff options
author | 2013-04-09 22:38:18 +0000 | |
---|---|---|
committer | 2013-04-10 13:42:45 +0200 | |
commit | d1b6848590af407c5d2354929ac683052d631830 (patch) | |
tree | 482ffe294513d0c6856a419f1f7cba786ea79c34 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: OMAP: instantiate omap-cpufreq as a platform_driver (diff) | |
download | linux-dev-d1b6848590af407c5d2354929ac683052d631830.tar.xz linux-dev-d1b6848590af407c5d2354929ac683052d631830.zip |
cpufreq / intel_pstate: Optimize intel_pstate_set_policy
This function is called quite often from other subsystems.
Removed unused call to intel_pstate_get_min_max().
Also when "policy->policy == CPUFREQ_POLICY_PERFORMANCE", then
no need to do calculations as the limits will be forced anyway.
Also corrected filename in the header.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions