Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755529AbdGKLkl (ORCPT ); Tue, 11 Jul 2017 07:40:41 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:44954 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753283AbdGKLkk (ORCPT ); Tue, 11 Jul 2017 07:40:40 -0400 Date: Tue, 11 Jul 2017 13:40:34 +0200 From: Peter Zijlstra To: Joel Fernandes Cc: linux-kernel@vger.kernel.org, patrick.bellasi@arm.com, juri.lelli@arm.com, andresoportus@google.com, dietmar.eggemann@arm.com, Srinivas Pandruvada , Len Brown , "Rafael J . Wysocki" , Viresh Kumar , Ingo Molnar Subject: Re: [PATCH RFC v4] cpufreq: schedutil: Make iowait boost more energy efficient Message-ID: <20170711114034.aamhq332wusj3irj@hirez.programming.kicks-ass.net> References: <20170709170826.29396-1-joelaf@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170709170826.29396-1-joelaf@google.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 433 Lines: 13 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 :/