Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1565328ybj; Fri, 8 May 2020 04:29:06 -0700 (PDT) X-Google-Smtp-Source: APiQypIkdtDc5AFHEyimzTwptS1ousYzb8MspSIBJfFtOIktR5IxaVwLgAE82KwU7k7TZMzhcANV X-Received: by 2002:a17:906:1c8a:: with SMTP id g10mr1509864ejh.342.1588937345897; Fri, 08 May 2020 04:29:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588937345; cv=none; d=google.com; s=arc-20160816; b=SPv6MNmT5nRJgAOGl6pwlzB98omj7yEKT336DovrbFbwiiBteLf0qUHTbOXMQV4EUR dJAINiWCb8KA/zknDbY7yOADOroNWrd4n846lAtm62qNllHsdVqb4afHm/9PaBLPJoyy gP6M7XOL8ZQY8q32GxGIDwLqnxspmVHT/wULk7g8SgYMZvAc01vRqQ0LTOjTnpCmAfWL KD0+5a2/HJc1gX56ogpFnusCZ9f/I8qGBQ/6hZC0xN/x2b2p1Mcm4vKwClaLf0hovhcd m+gyfEtaZd7sxm2GynK6tMPfY/NcVXrZ4D4hQi63N2YxxFzu/vc4OUjQhKHPEjPTDBAM akjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=i605eDMDNY8KyszY5v6QIxThK3xpDXQtG6gdo/y+ktg=; b=Szz1T5XNherfp/VY+tnyH78SAjouYKqMTzhRjzbvazH7akBFM2PbiOXUCnj+8QuT0t 2ETGtnTyuVHDbIhSPciH3jUbCzxv9HObAVPM2cpiS5E2+JRneNgG5+fmHIB383uyYVHE 4mF6ED+LP92Bvd2VWdq+fj8VEsrdFA6dmuBsUquZsAQ61ieFyg9wk3WfzfhJCISdGH6H aGtsqdBNH/ckbhEirsCNm5y04nWXwEHDp/y0Al7FobdFyakYwCB31Sdp7dNpw322Cvuh aBqhQbx6deMQTTgaAP2AeGiqIvC9/3LaxV6qX9eZ9HEUgiRnd88jo/3QihTw855Fl7y3 qbFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KLlSvJ6J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce9si829608ejc.139.2020.05.08.04.28.42; Fri, 08 May 2020 04:29:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KLlSvJ6J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727770AbgEHL0a (ORCPT + 99 others); Fri, 8 May 2020 07:26:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726618AbgEHL0a (ORCPT ); Fri, 8 May 2020 07:26:30 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B97AC05BD43; Fri, 8 May 2020 04:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=i605eDMDNY8KyszY5v6QIxThK3xpDXQtG6gdo/y+ktg=; b=KLlSvJ6JY5ihQrVCCnT+wbVZgJ z3wpGMlGDZpsLvpDv7HIafxPs1yngTfy6fULgy9QRhhHGASaQ06FQm2v8cmhOBEmkoK4/J7vVN8tp aTZxlpudeb6U0tOfvdFCMTTE9KlxrTCbSnzfra1Mw059R2wKbxchrqwJkdQ7mtOG2M8prxNOqV8uJ nM2eLo5j/vASGAmjQtDWqNyWzZvhepI6Htw9ExmaxYnAl8wIeAen3lA4X9GR1/W+OiWUkYHjkO2PN Tp1j5aA81izfL94vE1bB4a6BMP6saHjBzm3isSsjsgyM/7dkfOKCas9GvS+LcA3VuauD1cpRS2xiB SJaonrUQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jX18t-0000MQ-Ly; Fri, 08 May 2020 11:26:11 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 2D6B8301EFB; Fri, 8 May 2020 13:26:09 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1877B203ECDC2; Fri, 8 May 2020 13:26:09 +0200 (CEST) Date: Fri, 8 May 2020 13:26:09 +0200 From: Peter Zijlstra To: Greg KH Cc: Quentin Perret , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, sudeep.holla@arm.com, rafael@kernel.org, viresh.kumar@linaro.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, mcgrof@kernel.org, keescook@chromium.org, yzaikin@google.com, fweisbec@gmail.com, tkjos@google.com, kernel-team@android.com Subject: Re: [PATCH 00/14] Modularize schedutil Message-ID: <20200508112609.GA5298@hirez.programming.kicks-ass.net> References: <20200507181012.29791-1-qperret@google.com> <20200508081128.GM5298@hirez.programming.kicks-ass.net> <20200508103721.GA3860390@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200508103721.GA3860390@kroah.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 08, 2020 at 12:37:21PM +0200, Greg KH wrote: > On Fri, May 08, 2020 at 10:11:28AM +0200, Peter Zijlstra wrote: > > On Thu, May 07, 2020 at 07:09:58PM +0100, Quentin Perret wrote: > > > One challenge to implement GKI is to avoid bloating the kernel by > > > compiling too many things in, especially given that different devices > > > need different things. As such, anything that can be turned into a > > > module helps GKI, by offering an alternative to having that component > > > built-in. This is true for pretty much anything that can be made > > > modular, including drivers as well as other kernel components, such as > > > CPUFreq governors. > > > > The idea is to move to 1 governor, schedutil. Also, I abhor all the > > exports this thing does. Modules have no business touching most of that. > > > > Look at every EXPORT you do and wonder ask yourself how you can abuse > > it. Modules are not a good thing, they're horrible pieces of crap. > > Quentin, what is missing from schedutil that warrants the need for a > totally different governor? Is there specific problems with the > existing ones or is this just an instance of "we wrote our own a long > time ago and never pushed it upstream" from various SoC companies? At the very least there's that interactive governor that's really popular with Android. But IIRC there's a whole scala of home-brew governors and tweaks out there. And instead of enabling that crap, we should be discouraging it. Consolidate and kill the governor interface.