Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2790756ybk; Tue, 12 May 2020 08:13:27 -0700 (PDT) X-Google-Smtp-Source: APiQypKgCNJTu//W2fy+zlrSimcaqv2Hc12+3nswro+zjQnS3VcrnBid+OC1mEANsOwCqy/s+s7a X-Received: by 2002:a17:906:4548:: with SMTP id s8mr17902773ejq.349.1589296407173; Tue, 12 May 2020 08:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589296407; cv=none; d=google.com; s=arc-20160816; b=Q6rDdqw1kOzYuwrI3RLORCGzN+Du6VxMNLAKfuHZaXdB+Zc2kLHSTX8YVdWUrZHyda UZ5DJAvDQP/YJS288qN9SnHCoBXqCv0hN3l4Ph+VFBMnS4WzAvn2U7KCq6K81qOu5JbK 07s/lKBc98FcQ13u/S9uP+uhnSf6tfUphx93qUAkwWxpufFfNas0s6ugDJtiLpr5xrKh ePDDCNz5roiBihDg+cUFXDT1MdX5aub18GG8NzZ8/Khuq5nHMDPXKkRyRtOEhepOVL3z HWWi7RPBZ5E+1biYmSRssvn/cQtBo/z8lKFZnvaokWlQMpCXwojmP69JlS6NJXARr6kS kpKw== 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=LyoECAT36i8bO5QxWOOhIIYUcxOgBZAsoJFxVPKvt6I=; b=Snqtwev8HmvGbFATIG+YvJBhqIqntPCGFqzblqtJ6hggvvpFiNkR8g/Wh0rbJoGRR2 cD8pei/Opm8WilKCvaYGJy1LhMuDOsetUonf2yv1A3Amzp+27KHOoptpsGIlqNHuu/ER Ug1BCKw8WkmrE3mDC4GAJcg0mKgDhhzVklKVcniEYP46UeytqPRh/WBoUH9WPwzGqn2i 2G9ZzYHPNVC6mymutzMcUWzFMMiftmuySKgsTIg7SJ6sbUHXu82GQQO6adJ+5DykCQ9Q ewgamlTCscN2wO1cuqnOLdglS0CEQApVk+SIkvCc7+kVgrjnC/X+r03cdIbF3RMtD2Vv s5Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ZKR2a98x; 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 b13si6153566ejg.10.2020.05.12.08.13.03; Tue, 12 May 2020 08:13:27 -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=ZKR2a98x; 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 S1725912AbgELPL1 (ORCPT + 99 others); Tue, 12 May 2020 11:11:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725888AbgELPL1 (ORCPT ); Tue, 12 May 2020 11:11:27 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F696C061A0E for ; Tue, 12 May 2020 08:11:26 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id y24so23815395wma.4 for ; Tue, 12 May 2020 08:11:25 -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=LyoECAT36i8bO5QxWOOhIIYUcxOgBZAsoJFxVPKvt6I=; b=ZKR2a98xYHPdTkB+W2l2sMwRBoJk77ZyEzNIwcoGwiKV9bAbweE4tLsR9g7cG1Bm+F 6qibsKpJARmJxO9FyFgpcohBYQrEA6Pwo6uOLcLhntSmxoOtJetL2YfJRzu8JuA+wLC/ 4hDdu2gRASZpm1CgGZHVJ/8PMd5lCSBo6Aw2PmNuueWRwrIYS3e5SDhNkXNJ+kszNIwa qSTGoe7iIoaGQBy6QZxLYfYz8Jj1PPstLjXUiGW6rTELuPzBdgLnUgODxzA0/SfdNrpM QRI24qiGd+gEzSdn6KOjwohgrJaGKGmBIPsSaXMXYqf7gJHDtKdCdPtsYnK1mndR9uep qOSQ== 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=LyoECAT36i8bO5QxWOOhIIYUcxOgBZAsoJFxVPKvt6I=; b=DfeugsihrzjEOFvgHNbpFNX2ncrmkQblpgbHtz8MNT8KxZt+Re+u49PL9E06674tZE Lrr1KJMwMSC4KdZJOOrzeQ0MsUEYAHVnElnu24Frpg9cKUepf7NjmOBq2yG4W4895dvl CXFx6dnBJzMKxCUS8jjUVoUHRd0LFVxQOUifAR3MU2axSy9bR2xjDqcLEAcRVLFSEhNg rFCe40bcsr6sIVR0g+k9GXIwKVob9FZNW1IVGXlWIF4Os4Hl4Rx4xAktezpL+aaPwiWu K7a6ZcdbBWAINA6QDHsgcLPTdgFwvEiSQdoEXBiz17t1max2z+VWUhb0Ld48naYB1ZCj DMhA== X-Gm-Message-State: AOAM530LGgTTLVNnYLZXN8SGkbaIu7bhLE9wI0HjXqMIxZwAkNQmnPqn JZlcejNqo5mvevMwdOP6TgB60g== X-Received: by 2002:a7b:cb88:: with SMTP id m8mr3148842wmi.37.1589296284344; Tue, 12 May 2020 08:11:24 -0700 (PDT) Received: from google.com ([2a00:79e0:d:110:d6cc:2030:37c1:9964]) by smtp.gmail.com with ESMTPSA id t4sm24983251wri.54.2020.05.12.08.11.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 08:11:23 -0700 (PDT) Date: Tue, 12 May 2020 16:11:20 +0100 From: Quentin Perret To: "Rafael J. Wysocki" Cc: Peter Zijlstra , Greg KH , Linux Kernel Mailing List , Linux PM , Thomas Gleixner , Ingo Molnar , Borislav Petkov , the arch/x86 maintainers , "H. Peter Anvin" , Sudeep Holla , Viresh Kumar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Benjamin Segall , Mel Gorman , "Luis R. Rodriguez" , Kees Cook , Iurii Zaikin , Frederic Weisbecker , Todd Kjos , "Cc: Android Kernel" Subject: Re: [PATCH 00/14] Modularize schedutil Message-ID: <20200512151120.GB101124@google.com> References: <20200508111612.GA252673@google.com> <20200508113141.GB5298@hirez.programming.kicks-ass.net> <20200508130507.GA10541@google.com> <20200511090049.GA229633@google.com> <20200512092102.GA16151@google.com> <20200512135813.GA101124@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 12 May 2020 at 16:08:56 (+0200), Rafael J. Wysocki wrote: > If some piece of kernel code is modular, it still needs to be build. > The difference is when and how it gets loaded, so can you possibly > elaborate here? Sure thing, sorry if that wasn't clear. The end goal with GKI is the following: Google will release a single binary kernel image (signed, etc etc) that all devices using a given Android version will be required to use. That image is however going to be only for the core of the kernel (no drivers or anything of the sort). Vendors and OEMs, on their end, will be responsible to build and ship GKI-compatible modules for their respective devices. So, Android devices will eventually ship with a Google-issued GKI, plus a bunch of vendor-provided modules loaded during boot. This is a significant shift from the current model where vendors completely own the kernel, and are largely free to use the kernel config they want. Today, those who don't use schedutil are free to turn the config off, for example. But GKI changes that. The 'core' GKI config is effectively imposed to the entire ecosystem. As of now, because it is 'bool' we have no choice but to compile schedutil in the core GKI as some (most) partners use it. But as you can imagine, that is not the preferred option of those who _don't_ use schedutil. Modularizing avoids any potential friction since the vendors who want to use it will be able load the module, and the others will simply not. That really is the reason for that series. Then there is an important question: why should upstream care about all that stuff? That's obviously debatable, but my biased opinion is that GKI is a good thing(TM). It's our opportunity to put some order in the android ecosystem and to reduce the delta with mainline. That'll definitely take time, and there will be Android-specific churn in GKI in the beginning, but we'd like to keep that as small as possible, and to converge to 0 looking forwards. I hope that helps! Thanks, Quentin