Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp807052iog; Wed, 29 Jun 2022 10:33:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tDkUwEsOiryBJ383OcW+5WHjI9cIS3rW7d+G0Rbl7Yf8um2KZep+LlH0cug7FygtpsOB1c X-Received: by 2002:a63:8f54:0:b0:40c:b225:6f92 with SMTP id r20-20020a638f54000000b0040cb2256f92mr3791297pgn.554.1656524023914; Wed, 29 Jun 2022 10:33:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656524023; cv=none; d=google.com; s=arc-20160816; b=iJywLP6BmDwwYEGze8TUIJpAl5RJALILxfDFMhrdYq2K6z4FRI8T2fgbHu3y1VncDn +8ny3GAxYFMAaapyaPKB1AIND4QQKGBGIyjNVogsFyrOeMU6pRnvvpvKv4aD61sHTIhT daMVhgGwnVRo15QCPejiVM63vPJvmHoi/rywCk31DnvIzPla8p2/YZ7IBy9E2B0Yvq5/ 2BZK/gTU9DP1rbLvWeE30/S3TyYh99+Mvh76tM4m7vDJMW6eIT6yXaR7BD4Uqiy1edXe CNpbiPRr4er0w8i3djDCJNP0uMjEXI9bzou++87t3BidEBd52z6ikCQVt8yN4Di19zT8 qY6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=jhM+YPq9n/NZD9Y5P3S5fF2cr00r3CocRZ4M7E5Ku8Q=; b=SlnEt+3LPEENng+jx6Dsj7Iy9kFj6MeLG9mnoznH17XIHsjy1VoFLXkmcfVzIZPnfa dOI21InVMg2Zbb8RY5/SUYIHblDk+T4Q572Xekv8WCU2tm/+9DndXOeed1UoQuPLwUAm 2bqP9tut1NhSotkirYLARyrvlysRM/FvyNgJFRk2TQsaSW1k3u8xIinglWJFRsyHyr5P Cdma9h+7oJ8ff8gO2PEjg1s4ugw89UvBVA0NJE+Ie76vewCR+nuKl9WcFb+MN+aMqqAl ZyQ4PVv6gNVanUYC8aO/+v7a9teN5Rmoyuzpq56ZOzvapKnKf5lS3qkCyXNzfLRqL4tV egRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nQtcMEpf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a191-20020a6390c8000000b0040c88cb94a0si22806679pge.754.2022.06.29.10.33.31; Wed, 29 Jun 2022 10:33:43 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nQtcMEpf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229636AbiF2REK (ORCPT + 99 others); Wed, 29 Jun 2022 13:04:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbiF2REF (ORCPT ); Wed, 29 Jun 2022 13:04:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B54C3BA7C; Wed, 29 Jun 2022 10:04:04 -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 dfw.source.kernel.org (Postfix) with ESMTPS id BD83A61E38; Wed, 29 Jun 2022 17:04:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1ACF9C341C8; Wed, 29 Jun 2022 17:04:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656522243; bh=LT/4rclcv8CQ0DzOB/V1Ibt/rIEd3slMQebLqTbu1MU=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=nQtcMEpfYeKbWO6wJ3nY4KeR2Eh+CWhTbuRsPbiSFKjc49LK7je/UNPcsvfIws0qY GrcJgwe9Zl+1aYqhsmXs/xlFIO1GAJAv05b3k8STp/S9XqwjQd//LpNSQkkHmkdQbD 1K0R8dbv7+QZn4t/W8O961z8x71BrzkbU3EMc46H4rdGBhsZCrfue1ER4+io6v+FUg pHVs1T2KnolYy7oPAyyUL8rkqHJdmdfHD5zkFsWg9rryZ8Z/JvK7i0VFo507XeK5zh DnZbMMLlruplBrxswUzUhDbbd3OdaOhog76V88/4sYxlKWR4WZOm1Pos+8/QMzbqnh 7uH12fphg1CjQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B68635C0E5F; Wed, 29 Jun 2022 10:04:02 -0700 (PDT) Date: Wed, 29 Jun 2022 10:04:02 -0700 From: "Paul E. McKenney" To: "Jason A. Donenfeld" Cc: Christoph Hellwig , Greg Kroah-Hartman , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , 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 , Frederic Weisbecker , Neeraj Upadhyay , Josh Triplett , Steven Rostedt , 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, sultan@kerneltoast.com Subject: Re: [PATCH] remove CONFIG_ANDROID Message-ID: <20220629170402.GJ1790663@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20220629150102.1582425-1-hch@lst.de> <20220629150102.1582425-2-hch@lst.de> <20220629161020.GA24891@lst.de> <20220629161527.GA24978@lst.de> <20220629163444.GG1790663@paulmck-ThinkPad-P17-Gen-1> <20220629163701.GA25519@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 On Wed, Jun 29, 2022 at 06:45:48PM +0200, Jason A. Donenfeld wrote: > On Wed, Jun 29, 2022 at 06:37:01PM +0200, Christoph Hellwig wrote: > > be a policy set somewhere either in the kernel or fed into the kernel > > by userspace. Then we can key it off that, and I suspect it is > > probably going to be a runtime variable and not a config option. > > Right, this would be a good way of addressing it. > > Maybe some Android people on the list have a good idea off hand of what > Android uses at runtime to control this, and how it'd be accessible in > the kernel? In case it helps, in the case of CONFIG_RCU_EXP_CPU_STALL_TIMEOUT, the Android guys can use things like defconfig at kernel-build time or the rcu_exp_cpu_stall_timeout kernel-boot/sysfs parameter at boot time or runtime. Thanx, Paul