]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: schedutil: Reduce frequencies slower
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 30 Mar 2017 21:36:41 +0000 (23:36 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 13 Apr 2017 01:46:40 +0000 (03:46 +0200)
commit6df203816c963354d09a4a073b49d3ad8b8b6ed9
treece151f4062839cfad3d306c3c14a38d2a3d3b19c
parentcc62b214d7fca83aa034f3bc96ec944d649e56b3
cpufreq: schedutil: Reduce frequencies slower

The schedutil governor reduces frequencies too fast in some
situations which cases undesirable performance drops to
appear.

To address that issue, make schedutil reduce the frequency slower by
setting it to the average of the value chosen during the previous
iteration of governor computations and the new one coming from its
frequency selection formula.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=194963
Reported-by: John <john.ettedgui@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
kernel/sched/cpufreq_schedutil.c