Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2845532ybk; Tue, 12 May 2020 09:28:31 -0700 (PDT) X-Google-Smtp-Source: APiQypJ1Bbjp/121BsBuz7xX91fob/bhG+YiBilu4+ioGe0PZ0Yse1xRA07T9YRyEyiJ850ygwCb X-Received: by 2002:a17:906:5004:: with SMTP id s4mr18968361ejj.13.1589300911322; Tue, 12 May 2020 09:28:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589300911; cv=none; d=google.com; s=arc-20160816; b=kKG/e/NQsbRO9+ScAMlRsqp76joM3MIRifXsf3BBifOQfzgfbXldoNc0pk4Q6272FZ DYXtTk95IayrOdX90aRavJsv5nB1Sg0svZDHirEtJUZRtRSBsf28ZRqvKVz0KkiW9R3Z ZUWW+Nx635sgonCAlamTAlskYXi00SQ4NzSDhl/6dGWRdadPOXOdrq/scESSS5EEP712 V6z+47x2jITTMkzj8RNCRFkYyL203m5H5I+2QivayNOJukiEmKA8lwqqGWCg/zFgxDU0 FovoW1QEsf/eIqOy9pHOJGrhYGhOhkJPbKxr7DPwOea5m/HHkjd6GXXt4yu93JHb7dx8 rz5w== 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=6HJT2kKPgjiAAOGtBVsRpj6IJ2zADNGtQgIXFAzK6EU=; b=hVi9VVkJkC212NMrMC4Ym/aK7u6Z/Gdc7Zfx6Jb8aIBkr61qn0Uf0a9KukpvcBGgvw Uh0T1Bj7Zb4vA4PYhJDVgAGVdvEboXHxfDObfsVefZu0v2SoRSWTtNuY7XxQABCPIHDj VbNoWsE9BCWxDZp9k1wK565GBtG5Pr6MxsXxVXjvQmcNGWfImynh4yXtF3C0sEUH4OhJ Ll1Uea9gHCOsBbne+0v2bmfKjX/Id8Ybi3A/i7HcinVshF+nrFru4M/WTCRjIkhiN2DW mSZbO6QZS8ojy9bEnn+uCbzipmXEdQ0IsTOtyD+TJ8O6X8GjsYxQX2XFkvk074GtzHEt /oVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=M5XIGTx9; 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 v1si8476688edr.198.2020.05.12.09.28.08; Tue, 12 May 2020 09:28:31 -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=M5XIGTx9; 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 S1728139AbgELQ0h (ORCPT + 99 others); Tue, 12 May 2020 12:26:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725950AbgELQ0g (ORCPT ); Tue, 12 May 2020 12:26:36 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 534B2C061A0F for ; Tue, 12 May 2020 09:26:36 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id e16so16229527wra.7 for ; Tue, 12 May 2020 09:26:36 -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=6HJT2kKPgjiAAOGtBVsRpj6IJ2zADNGtQgIXFAzK6EU=; b=M5XIGTx9K+Ro5VIvFc+qCSNhF3KkcELu6ClryP/Ful95DZGJV63YVAsk0s+IIS/cOC 3lVxRk4Q7Q3VIi+ppabWHEC2pDtYTB5vwiaq/cOmEVMUiKLIfIiQKAcEBepfcf2R3HAN hhbSeWYPwx7kvhtlY8yZzaXYsjD9P7sn9PJVvHxvntpu1lkSaS/mPkXyXIngbNNoLQTG Pi1lscl6DlH2eIibNigMPai7KR1FjqABXAfrJtvwE2v5z7LoMjyce9E29ZgUUDoxPonr 8iT+174llTvZNzyNIT4942C+9pPrjoLdJ6+fiNNLguJurlddAtnWEgQ8g3aDTfUqDm3m FEsA== 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=6HJT2kKPgjiAAOGtBVsRpj6IJ2zADNGtQgIXFAzK6EU=; b=HhMrCjUPY3wRfz8qJ3LWQ80R205+OYDgeMxcu0QZiR/Q00Y4BgwcTapp60ft0j1xBF cXQyrFP9Rxf9iyqrHHQZ8jt4c53VLiHy6ZDVo8zYdb7XkAZTR/2BYRkJb/6YJu36k9/C X3xxOsr7EOnR0aRbxJUM0VYADID6PfU5poz8ZxorlO+dDE1f/dVKgVoNV91fi+o21A5e tWLaMqdj8z0ODLAcGhLe5KpKRq47cSTwGmFxsc0CplEEpa/UKdjAMr8qWivRN5jqIv+K 59MNUwBJ4B0N9EqEe5JjxH5XiTdsZLzg2tHCCXLONQinIERUmOw4NsSsGUelrTKLbccc zzig== X-Gm-Message-State: AGi0PuZ7xFcUGr9av3M7hEB1Rlgio9RJY22hl/+kX0zLEqnyqmg13aAm 6bDa8SYKVm6yFguRS4J5Rt/V7w== X-Received: by 2002:adf:bc41:: with SMTP id a1mr27717873wrh.302.1589300794743; Tue, 12 May 2020 09:26:34 -0700 (PDT) Received: from google.com ([2a00:79e0:d:110:d6cc:2030:37c1:9964]) by smtp.gmail.com with ESMTPSA id s17sm31238957wmc.48.2020.05.12.09.26.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 09:26:33 -0700 (PDT) Date: Tue, 12 May 2020 17:26:30 +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: <20200512162630.GC101124@google.com> References: <20200508130507.GA10541@google.com> <20200511090049.GA229633@google.com> <20200512092102.GA16151@google.com> <20200512135813.GA101124@google.com> <20200512151120.GB101124@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 17:30:36 (+0200), Rafael J. Wysocki wrote: > On Tue, May 12, 2020 at 5:11 PM Quentin Perret wrote: > > 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. > > If that is the case, then I absolutely think that schedutil should be > part of the GKI. > > Moreover, that would have been my opinion even if it had been modular > in the first place. I definitely understand the feeling. Heck I contributed to schedutil, so I'd love to see the entire world run it :-) But my personal preference doesn't seem to matter in this world, sadly. The truth is, we cannot afford to be arbitrary in our decisions in GKI. Switching governors and such is a fully supported feature upstream, and it has been for a long time. Taking that away from partners is not the goal, nor the intention, of GKI. They will be able to choose whatever governor they want, because there are no *objective* reasons to not let them do that. > > 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. > > So why is this regarded as a good thing? You mean using something else than schedutil? It is not seen as a good thing at all, at least not by me. But we have the same problem as upstream. We cannot remove the other governors or the governor API for a simple reason: they have users :/ Thanks, Quentin