summaryrefslogtreecommitdiffstats
path: root/kernel/Kconfig.freezer
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2020-10-16 20:17:22 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-10-19 17:38:16 +0200
commit0070ea29623904224c0f5fa279a16a4ac9223295 (patch)
treeaf556351e9a36f65cc3d558dcabd9b249fd77348 /kernel/Kconfig.freezer
parentacpi-cpufreq: Honor _PSD table setting on new AMD CPUs (diff)
downloadlinux-0070ea29623904224c0f5fa279a16a4ac9223295.tar.xz
linux-0070ea29623904224c0f5fa279a16a4ac9223295.zip
cpufreq: schedutil: restore cached freq when next_f is not changed
We have the raw cached freq to reduce the chance in calling cpufreq driver where it could be costly in some arch/SoC. Currently, the raw cached freq is reset in sugov_update_single() when it avoids frequency reduction (which is not desirable sometimes), but it is better to restore the previous value of it in that case, because it may not change in the next cycle and it is not necessary to change the CPU frequency then. Adapted from https://android-review.googlesource.com/1352810/ Signed-off-by: Wei Wang <wvw@google.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> [ rjw: Subject edit and changelog rewrite ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/Kconfig.freezer')
0 files changed, 0 insertions, 0 deletions