Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp44489ybj; Fri, 8 May 2020 06:12:00 -0700 (PDT) X-Google-Smtp-Source: APiQypLJNjfl8L+Nr4IxBdJtaVLeXbQO6B+mja2qLD1Kfh0691zww3ba5g+Fu+Kb+pCcUHQWc5hb X-Received: by 2002:a05:6402:1618:: with SMTP id f24mr2119116edv.330.1588943519930; Fri, 08 May 2020 06:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588943519; cv=none; d=google.com; s=arc-20160816; b=uTPlvu8XCocDxQyKHUTxHaG4HcVKmMvMRtzg9txKinNivp7Sah5iiii5FmgoN9iwxy FNWuPdfTvrQJKcVrqNfsJfFMmK9Ddy7IkXl+V8w8JPXjlxAMwl73Gnppy0QSkBBftBUF HiuafFtmq5ZDxF2xLlpzNrUi/EHrbb6bf39Ar3BPUmior1mF5ecsmsovzcPVLLpzkxOg 7kkPt6VC8I6/4ppJisxw7g5Rom8Pog9hvFE5glHsvgFto2liOWqJXqu+Z9QV0bcrfxsO 5YIr8Zp8+GK80NkKa1t688BmZ7H7v9QHrKYQUkNmult7gmbEJvk+kTflZKOw2N6HI+1D HWIQ== 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=Mgb+elpG5rRocO3HltFPkQjaBpOGyLvzRk4WBy8PAxU=; b=aKxRu5DtMulfH4IlsZbxQzh/adJQIJkzyp7PepwO3d+FcvQbAqp1ZCurTKrtq7n5aZ Y4VVhR26DgEzCA7ca+Ei6bJyfhrrs3ql7bxOcKQ90v8qGj8AAH+zhETGGBEWAaLE9psi xDMkRlWm7IT4F6Nx6Ip3M65kauMFOjcBVi6UHHYkVipWrwCaUeqJ230kWKMZ8CSLf5Xf y4hShFlWfStld8FlXkNH/sfIj0RWN2ZZdw8bxazqqqsOu7rf2FKYtKa5AH08pD3FtL9W 7JzbF5v9h0D/1k+SZlIKSlNbwH2f04Tybj2HuHofhdqNayafor4bbC1gMi/Zzo6dx8iM h2sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=avte0Gre; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bc23si902393edb.241.2020.05.08.06.11.36; Fri, 08 May 2020 06:11:59 -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=pass header.i=@google.com header.s=20161025 header.b=avte0Gre; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728098AbgEHNKL (ORCPT + 99 others); Fri, 8 May 2020 09:10:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730448AbgEHNFN (ORCPT ); Fri, 8 May 2020 09:05:13 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B32AC05BD43 for ; Fri, 8 May 2020 06:05:13 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id j5so1771125wrq.2 for ; Fri, 08 May 2020 06:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Mgb+elpG5rRocO3HltFPkQjaBpOGyLvzRk4WBy8PAxU=; b=avte0GreY98ChYX60EQHioHbWYFoHxkPBqNThycjj0bAXSB8OZZbe271eytzU9dx79 C8FaQBxFUZ3GDTVvIT89VXFjpubyrMz3G19/1aOKdIXTn4vnb1ZfFmqw5fFPbuWq5W+7 fcqkvekv1UgguYkRl/vJLoL7GHe8GeRdGahmEA1D5q7haPK3hPw/NTJTjop/8FgUb9Cu ZtUs2h0s5e6tX8bBwvwftZG29B6macEhAZBHu+SOo+SdXLM7r+Cf5OlIPqdOC42o/5EK r0nS1aOIpVSZdaGQKY9XMlRh19ORG1QdNiZPlngH8pXwdxZZtxNaGuyB1CbCDumVomaw UyTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Mgb+elpG5rRocO3HltFPkQjaBpOGyLvzRk4WBy8PAxU=; b=SjuJZiFkGBo5jI/K70QCVx5dn53cQkFBlS34Z+Pkr9UuZ5/76xbRCXPIpEl6bu2pYB LOhSkh+bYgC9iFt+nrgwmFXFVWIMKjLA288ozztc75zekuvD2FcHBkuoc8A0dLmUKHZL oWtfOl/SWQk7kQXIEcH4iQDOu2tZkNNQ4m/4uGLR2UzQeBdfq0FF5bSYQA5S7mH9nUZH nuQnUtborJ27HWPPeDK+OEoPQb5S5H4CqYU4Ow9qKGgm4YfgtCGKS+CXcbcAFDh4MCFc BcY+XP49uMRXjFHQuF8HS3q0I1eeKBaZ0p04bLTbaEG/7s8Emg67keHZeCEhRFJ49wDt v61g== X-Gm-Message-State: AGi0PuZixTUuEfeL1h1YGl4VswKOZB72yVGvLvWwY/q7IjD7b0rQvhsx FxDKsg1bG3H90so54PUQtelRSg== X-Received: by 2002:adf:d841:: with SMTP id k1mr2812214wrl.129.1588943111589; Fri, 08 May 2020 06:05:11 -0700 (PDT) Received: from google.com ([2a00:79e0:d:110:d6cc:2030:37c1:9964]) by smtp.gmail.com with ESMTPSA id 5sm11892425wmg.34.2020.05.08.06.05.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 May 2020 06:05:10 -0700 (PDT) Date: Fri, 8 May 2020 14:05:07 +0100 From: Quentin Perret To: Peter Zijlstra Cc: Greg KH , 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: <20200508130507.GA10541@google.com> References: <20200507181012.29791-1-qperret@google.com> <20200508081128.GM5298@hirez.programming.kicks-ass.net> <20200508103721.GA3860390@kroah.com> <20200508111612.GA252673@google.com> <20200508113141.GB5298@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200508113141.GB5298@hirez.programming.kicks-ass.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 08 May 2020 at 13:31:41 (+0200), Peter Zijlstra wrote: > On Fri, May 08, 2020 at 12:16:12PM +0100, Quentin Perret wrote: > > However, the point I tried to make here is orthogonal to that. As of > > today using another governor than schedutil is fully supported upstream, > > and in fact it isn't even enabled by default for most archs. If vendors > > feel like using something else makes their product better, then I don't > > see why I need to argue with them about that. And frankly I don't see > > that support being removed from upstream any time soon. > > Right, it'll take a while to get there. But that doesn't mean we > shouldn't encourage schedutil usage wherever and whenever possible. That > includes not making it easier to not use it. > > In that respect making it modular goes against our ultimate goal (world > domination, ). Right, I definitely understand the sentiment. OTOH, things like that give vendors weapons against GKI ('you-force-us-to-build-in-things-we-dont't-want' etc etc). That _is_ true to some extent, but it's important we make sure to keep this to an absolute minimum, otherwise GKI just won't happen (and I really think that'd be a shame, GKI _is_ a good thing for upstream). And sure, schedutil isn't that big, and we can make an exception. But I'm sure you know what happens when you starting making exceptions ;) So, all in all, I don't think the series actively makes schedutil worse by adding out-of-line calls in the hot path or anything like that, and having it as a module helps with GKI which I'm arguing is a good thing in the grand scheme of things. That of course is only true if we can agree on a reasonable set of exported symbols, so I'll give others some time to complain and see if I can post a v2 addressing these issues! Cheers, Quentin