From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.zx2c4.com (lists.zx2c4.com [165.227.139.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F3300C43334 for ; Wed, 29 Jun 2022 17:09:13 +0000 (UTC) Received: by lists.zx2c4.com (OpenSMTPD) with ESMTP id e4cb9271; Wed, 29 Jun 2022 17:04:06 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lists.zx2c4.com (OpenSMTPD) with ESMTPS id f7a90ec3 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Wed, 29 Jun 2022 17:04:04 +0000 (UTC) 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 ams.source.kernel.org (Postfix) with ESMTPS id 56DD0B824F3; Wed, 29 Jun 2022 17:04:04 +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> 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-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: paulmck@kernel.org Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" 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