cpufreq: intel_pstate: Rework iowait boosting to be less aggressive
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Feb 2019 11:51:04 +0000 (12:51 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 18 Feb 2019 10:34:32 +0000 (11:34 +0100)
commitb8bd1581aa6110eb234c0d424eccd3f32d7317e6
tree3f713517190e48b5b5d33abc51e5523456ffde87
parenta8e1942d97dcc44d1425807c71a4252f9e3b53b6
cpufreq: intel_pstate: Rework iowait boosting to be less aggressive

The current iowait boosting mechanism in intel_pstate_update_util()
is quite aggressive, as it goes to the maximum P-state right away,
and may cause excessive amounts of energy to be used, which is not
desirable and arguably isn't necessary too.

Follow commit a5a0809bc58e ("cpufreq: schedutil: Make iowait boost
more energy efficient") that reworked the analogous iowait boost
mechanism in the schedutil governor and make the iowait boosting
in intel_pstate_update_util() work along the same lines.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c