]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: schedutil: Add iowait boosting
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 9 Sep 2016 22:00:31 +0000 (00:00 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 13 Sep 2016 21:36:01 +0000 (23:36 +0200)
commitbf103321c29671ff70b2d8ad012fc32a05c458b8
treee94b64e65de87721ad94784585ed5c3b53e64257
parent86a64a4912df6fd8c570c6455cdbcf9cb39dc827
cpufreq: schedutil: Add iowait boosting

Modify the schedutil cpufreq governor to boost the CPU
frequency if the SCHED_CPUFREQ_IOWAIT flag is passed to
it via cpufreq_update_util().

If that happens, the frequency is set to the maximum during
the first update after receiving the SCHED_CPUFREQ_IOWAIT flag
and then the boost is reduced by half during each following update.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Looks-good-to: Steve Muckle <smuckle@linaro.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
kernel/sched/cpufreq_schedutil.c