Re: [Resend][PATCH 2/3] cpufreq: schedutil: Add iowait boosting

From: Peter Zijlstra
Date: Tue Sep 13 2016 - 03:44:31 EST


On Sat, Sep 10, 2016 at 12:00:31AM +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> Looks-good-to: Steve Muckle <smuckle@xxxxxxxxxx>

Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>