diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-02-18 02:28:24 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-03-09 14:41:08 +0100 |
commit | d1db75fffc22504c586c3fae8d602384ea899340 (patch) | |
tree | cf2f6613ba88eb244162f8f1ad4fe8be05651ff4 /Documentation/zh_CN/arm64 | |
parent | a33cce1c6cc3268d8b4843bf1e4ac1e70b27d107 (diff) | |
download | op-kernel-dev-d1db75fffc22504c586c3fae8d602384ea899340.zip op-kernel-dev-d1db75fffc22504c586c3fae8d602384ea899340.tar.gz |
cpufreq: ondemand: Rework the handling of powersave bias updates
The ondemand_powersave_bias_init() function used for resetting data
fields related to the powersave bias tunable of the ondemand governor
works by walking all of the online CPUs in the system and updating the
od_cpu_dbs_info_s structures for all of them.
However, if governor tunables are per policy, the update should not
touch the CPUs that are not associated with the given dbs_data.
Moreover, since the data fields in question are only ever used for
policy->cpu in each policy governed by ondemand, the update can be
limited to those specific CPUs.
Rework the code to take the above observations into account.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'Documentation/zh_CN/arm64')
0 files changed, 0 insertions, 0 deletions