Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp779925iog; Wed, 29 Jun 2022 10:02:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uk/GXFhj5kJ9tqs1Qfgk5hfi1PdtkW0gepOWk/0veSXUqach+0MzLbfDeDfhpetj/pR/mb X-Received: by 2002:a17:906:37c6:b0:70c:f9f:f0c5 with SMTP id o6-20020a17090637c600b0070c0f9ff0c5mr4354521ejc.743.1656522150374; Wed, 29 Jun 2022 10:02:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656522150; cv=none; d=google.com; s=arc-20160816; b=GhCGjGyf5kuUb5tDwPNqLL5w+kilIvszmTD+zhjqfjAU7ijXISWpf1YzKeYwLj530D shQJl5ekD2Ct786Hjt3VO5J0SeSlwZW3i0ZPVSBYPZRNv1MXQMdYAGvHlTVAT/n5UcQB 1yKsh/SCVVosfsVUlpVVd0d3A+R/2gvLzNe7vhVTru9/S3BHvvrSxIW+BXtS0YCQ2nPg Jsm8PcosB3a/AcJjJ/NspG153QRmnAA6HmbaLpcB08MHVqy7vtl4hrMyHpKkB0kJ+uqR 8LwDHA113MsXaz0SME6H7Q3KC2OkUHQYwTN4infQBjJx0MvJMXAoPhO5v+nGM4GOkPeP nfTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=/sH+WYHRJjv6VbDCL2N6pRqy9hkEsAlX+8QHo0acS4Q=; b=FKc/h3ubde+X/my5+2JAirjHpZeywt5MBCR1n9wKVLN3vAP6Do9ML6pH5BZoLcBko5 pxyo13T0TDaBNK1OrjnkzriijBSgHoK8y6O1a4FMST8iDpBwoUAiZT7q6QiTlPxcD5UA A7AXt2dVlAJ2U9Rf1ReNkJk1gBavxt6UlE2rZ4L62rAF6TN+1Wf2c9PfecqszXPTSOKu wnCKOHI5J2jlU/3fC8UzH1B+6xRaeDGUYPrMMJ5BE0/ih0a2kMKsxCwKJrfrGhu13Zoq q7MdlgVnpKi0eekXvIBTS+B76kho/OPlScqgrQpvs+/MKqlPG9pCIKB4x9ngeJiu49LF 1RnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rn9-20020a170906d92900b00726a78c2a41si5324590ejb.701.2022.06.29.10.01.59; Wed, 29 Jun 2022 10:02:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230513AbiF2Q45 (ORCPT + 99 others); Wed, 29 Jun 2022 12:56:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230447AbiF2Q4z (ORCPT ); Wed, 29 Jun 2022 12:56:55 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4209D25588; Wed, 29 Jun 2022 09:56:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 9EB7DCE25C4; Wed, 29 Jun 2022 16:56:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13837C341CB; Wed, 29 Jun 2022 16:56:45 +0000 (UTC) Date: Wed, 29 Jun 2022 12:56:43 -0400 From: Steven Rostedt To: Christoph Hellwig Cc: "Jason A. Donenfeld" , Greg Kroah-Hartman , Arve =?UTF-8?B?SGrDuG5uZXbDpWc=?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Christian Brauner , Hridya Valsaraju , Suren Baghdasaryan , Theodore Ts'o , "David S. Miller" , Eric Dumazet , Jakub Kicinski , "Alex Xu (Hello71)" , Paolo Abeni , Rob Herring , "Paul E. McKenney" , Frederic Weisbecker , Neeraj Upadhyay , Josh Triplett , Mathieu Desnoyers , Lai Jiangshan , Shuah Khan , linux-kernel@vger.kernel.org, wireguard@lists.zx2c4.com, netdev@vger.kernel.org, rcu@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH] remove CONFIG_ANDROID Message-ID: <20220629125643.393df70d@gandalf.local.home> In-Reply-To: <20220629164543.GA25672@lst.de> References: <20220629150102.1582425-1-hch@lst.de> <20220629150102.1582425-2-hch@lst.de> <20220629161020.GA24891@lst.de> <20220629161527.GA24978@lst.de> <20220629163007.GA25279@lst.de> <20220629164543.GA25672@lst.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Note, I'm not on the Android team and my response has nothing to do with my employer. I would say the same thing with my previous employer. ] On Wed, 29 Jun 2022 18:45:43 +0200 Christoph Hellwig wrote: > On Wed, Jun 29, 2022 at 06:38:09PM +0200, Jason A. Donenfeld wrote: > > On the technical topic, an Android developer friend following this > > thread just pointed out to me that Android doesn't use PM_AUTOSLEEP and > > just has userspace causing suspend frequently. So by his rough > > estimation your patch actually *will* break Android devices. Zoinks. > > Maybe he's right, maybe he's not -- I don't know -- but you should > > probably look into this if you want this patch to land without breakage. > > And it will also "break" anyone else doing frequent suspends from > userspace, as that behavior is still in no way related to > CONFIG_ANDROID. Should there then be a CONFIG_FREQUENT_SUSPENDS ? That is, if you have system where you know that there will be a lot of frequent suspends coming from user space, then you would enable it. I agree, calling this ANDROID is not related to the functionality change. But if there was a config that was related, would that be acceptable? Then it would not just be Android that could enabled this change, but any other system that is doing frequent suspends? -- Steve