Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1443870ybj; Fri, 8 May 2020 01:14:17 -0700 (PDT) X-Google-Smtp-Source: APiQypJqKzVpy4YxJXrIU6b0+aF9+wkBFwrBU/S8VwOZ4vXaL6p0g9jpWQLwZAhlqimpu2A0P5SP X-Received: by 2002:a17:906:a39a:: with SMTP id k26mr854969ejz.172.1588925657724; Fri, 08 May 2020 01:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588925657; cv=none; d=google.com; s=arc-20160816; b=w2pTgVY1OcA5VeDQv1vhDojiEM8pWfmnbRj0jfsuSbHLS3gQAdUf6SPYZg7F4bOb0+ uTbz5uhMUrKhPE2Kdu+SLN4Dt4LIj8FUbq9qO5bYndpRkwf0/YoQ1YjDk5k6JhNTx2vL 3r2tvxSHqBu+0FRCckOG4CCYjUeqEeEHOdKpASJBXvvoeAyA5+6HCJCg9DFBGx0Mcjle TMy8/wenKh/Odt6hUofyz507A70RtcyXOqei6Y1KzJFKT3yVHbpkNmkrscVOUZLTnhSZ QU5vAZjTfP1GwpvNVDrtUTZV6DrKrwFT1kpjLR2Sc43ul67K/7IzR2Ed4E/Exr4Bwa/M 7txA== 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=3ahC++fEwMzmLLM2QpP2jvwJMwZREpXt88C4KYJBX2U=; b=y+A50dHl+UbVHAVWKAPTZfcD+hp6zkWI6It2qaqKsgFmI048qgOPDvC0wt7ja/E9Gc eI152QXNPb/aDZVe9WuCarw4OhhKVL7mUbhwsVTkuabAE98CNs2KXIrkrzUyXv4Wr488 7QdgWGrUmzT7iAVxmXMDW5Tlyacz+QAQE/fYyJ9qoOi7p/5KaWt4km5Uy9WDkyJgYMhJ UlVESms1l17NaFANMQWZg1Q3ML/MHAq7XNvv/EIssnBI9QInj4xdZ6O6soIIxVNX5BpV D1yRhQV35ljZJL7wm+fWtuLV8ky93h1tAP8r0hlMHu28HFtNFlvPMNKVimb0tVNod/HO 2Vtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="u/BuPo7W"; 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 v19si483250edr.209.2020.05.08.01.13.54; Fri, 08 May 2020 01:14:17 -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=merlin.20170209 header.b="u/BuPo7W"; 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 S1726751AbgEHIMa (ORCPT + 99 others); Fri, 8 May 2020 04:12:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726048AbgEHIMa (ORCPT ); Fri, 8 May 2020 04:12:30 -0400 Received: from merlin.infradead.org (unknown [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5071CC05BD43; Fri, 8 May 2020 01:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=3ahC++fEwMzmLLM2QpP2jvwJMwZREpXt88C4KYJBX2U=; b=u/BuPo7WsiFvewU2RMhJpL7PNC 3/dZzUXyh/eiYNNFsAgV0nNEpU6QXz3cLsV+fb4rcK3VQ7FTjKBNe3/ArFyBBYY4QEStYjxEaPv2q zkToNxMIkliWpH5z1CmXlsPYGFUEohVtY9/xQLwafuXbFqV+okSh7+KJyWfwpZlJ1eu1or5oK4hw5 4z2RoIQXsiuyOdeUzbAiCAG/QbdlzbGmshvf2DP4bEtzaeMo5ZrZxpAt7TvIRaakE4KCHS6Yva8oj ikC+7/+sr/MFvTh5oLOxsFrtzO08ieBJeoM0nWN7HcqrIWfVA2D8iaeUZZdK7LFAhCxVPVqltkP5u EAKiGU8w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jWy6V-0003Fp-Jk; Fri, 08 May 2020 08:11:31 +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 B060A301A80; Fri, 8 May 2020 10:11:28 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 9C4892038FB83; Fri, 8 May 2020 10:11:28 +0200 (CEST) Date: Fri, 8 May 2020 10:11:28 +0200 From: Peter Zijlstra To: Quentin Perret Cc: 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, gregkh@linuxfoundation.org, 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: <20200508081128.GM5298@hirez.programming.kicks-ass.net> References: <20200507181012.29791-1-qperret@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200507181012.29791-1-qperret@google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.