Re: [PATCH RFC v4] cpufreq: schedutil: Make iowait boost more energy efficient
From: Peter Zijlstra
Date: Tue Jul 11 2017 - 07:40:51 EST
On Sun, Jul 09, 2017 at 10:08:26AM -0700, Joel Fernandes wrote:
> --- a/kernel/sched/cpufreq_schedutil.c
> +++ b/kernel/sched/cpufreq_schedutil.c
> @@ -53,7 +53,9 @@ struct sugov_cpu {
> struct update_util_data update_util;
> struct sugov_policy *sg_policy;
>
> + bool prev_iowait_boost;
> unsigned long iowait_boost;
So I absolutely detest 'bool' in composite types, but I see there's
already some of that in this file :/