Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp383941lqt; Thu, 6 Jun 2024 06:39:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQARWizzZGb8CdytwD0SrEUFTX0tvuI9hVi2NX/XH3wkccpaI0v1YEMyhkk3wPV6BYKE1yzZ4VmB6mhthc3t9QHdok6ed0qvOVbWlgMA== X-Google-Smtp-Source: AGHT+IERucX9d/jERGbnsIG6Nx/EqkXUvNWqC4MJ2ueYPGglV0t758uOAMNhtmw4rUr+byHB4eTZ X-Received: by 2002:a17:906:6c87:b0:a59:b359:3e18 with SMTP id a640c23a62f3a-a69a024cf6dmr347214666b.47.1717681146239; Thu, 06 Jun 2024 06:39:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717681146; cv=pass; d=google.com; s=arc-20160816; b=igzgbHxeeoyL9NntDN8YkTlb501lAZAs+dwngPbz39ZSpbE+eOM7s6fgvppUBOD64z 2bCVZpte29RXwMZgXNHciiVb0Pm2OLp47JSk8lUA+N3SgVKYn0Y5JJUK8ZtpfLOhKIS5 B0viyC0it5tSYCTd1Gwv3BnR18FMMSyQiKp5X8rP4qtFggDzVgZa3S3Y2xgXyfFC+8ug sZxTObrPEWMSu6No1YKO1bCXe93Jiq/hiWvSyZsYiSHOEtMVFcKjIvKFKvHaS6fdg7GO xOAEMYxy83Y9aooQD6hPkBP0G9p7vW0WmZxmTbYPgim5AXVk85yqMjU4Yexf+b/fu38I /QbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=BZrS2RgE+qyHwKfxHsfeAJjDCAEtpybBi4jczTNLQ/4=; fh=/34lilXR2SFyytNDKypxy03QYQMAa03KZ2daoBz+WXQ=; b=MEL+R1FcPJsRMtquOfzSF1oDlMpEIpy2XP6wd1sDE1UlM4SmhFzHF7EZZvHLUOjpSc 2vW0RCXLAB+NdWBP26vTO69S2bSsLv4n3vvm7wtRi9CB2ZbxLgRKnI9VMaT5yyQjGVzV wW4zeTUGybQ7ZOcpC+HhiipqSVhaCQ8E8tnl3fGyUZY42Hd+wH70ioAhRseGXSYZ2V93 MV6yaLBa9hz17O/M1Ganhd0A856pmPJ4U93USAM6QY2m0yiF2uBd6jeK38krbilsmtEh 1HW3SzezUkGhwbmOkuLJ1nTlgEr1oiBPbhEGNYzFaD4VEDH0qiAv5Jq/LEwuceSORniO LHHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b1swoBkN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-204384-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c8058885csi73317566b.117.2024.06.06.06.39.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 06:39:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204384-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b1swoBkN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-204384-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ED2F91F26DB0 for ; Thu, 6 Jun 2024 13:39:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0108519642A; Thu, 6 Jun 2024 13:38:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="b1swoBkN" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F969195F10 for ; Thu, 6 Jun 2024 13:38:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717681138; cv=none; b=CP2HAdEkQuBN7xQN9qsUA2bddmHEEmgr0pJx+yWxuFk0oIh1M0BIBZVhkOU0+B7heyr1BpjSCkxS3a6M0fIocvMEuWjinRa31SPUGRpjiyCf5bDxAYR22stUZ2NOcQOM19ID8BXKMHFmRY9SROVBHsVID/1uYYXn0eiNqGO2kmg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717681138; c=relaxed/simple; bh=OfYPy15oCpZ5u0l2eprzf6tcT5+des7BOL1pBwVACTY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SQmOqWTy8n10pd/iHpq3/BeF8u1yvyrlLYAf/cXkLNTASjGG1EPLaBt+vSGdRuaAp3DQH2fGTcqk+XfnMG4Meoqut+A9vytwSfsMyjHENMwamTgRH0zBt6H3OlA8hoa0yTbAPk5ggS5nl5oavx0IkeCQt1dsTUW4RFipulxx9w0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=b1swoBkN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9F2DC2BD10; Thu, 6 Jun 2024 13:38:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717681137; bh=OfYPy15oCpZ5u0l2eprzf6tcT5+des7BOL1pBwVACTY=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=b1swoBkNY+DRnc4G1ENj/4D1TH40f/ecFxp5gNbRKzB2jPyJNJgLPQT2HgJTKzGaC PDHzzrTFv9EtJejMI1WIBeNu7nSC5XqQwubuG4MK9eQy0L8/6jjzC8vG8MTdvYIu5P X9g4n/SQBQTND4v/3WNQmR0oiLrWZUVrEItgwEWOS6iw+02NN2vwZKgQ1dM4sR/WMs eH8zSI/hDvjs4KnjoVCvyd0Yk6FfpHPTVvGBRKYB+7j129N024gxPYeJ+KZAxJXirG pVamZZ1WmTpqBycSm/McaTWbMtARTQpxoPvyfJveWWV6puBgTLofPFP8NOLdrtyopg DO7zk+YqKYJFg== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 46585CE15DD; Thu, 6 Jun 2024 06:38:57 -0700 (PDT) Date: Thu, 6 Jun 2024 06:38:57 -0700 From: "Paul E. McKenney" To: Peter Zijlstra Cc: Ankur Arora , linux-kernel@vger.kernel.org, tglx@linutronix.de, torvalds@linux-foundation.org, rostedt@goodmis.org, mark.rutland@arm.com, juri.lelli@redhat.com, joel@joelfernandes.org, raghavendra.kt@amd.com, sshegde@linux.ibm.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, Ingo Molnar , Vincent Guittot Subject: Re: [PATCH v2 16/35] preempt,rcu: warn on PREEMPT_RCU=n, preempt=full Message-ID: Reply-To: paulmck@kernel.org References: <20240528003521.979836-1-ankur.a.arora@oracle.com> <20240528003521.979836-17-ankur.a.arora@oracle.com> <20240529081404.GI26599@noisy.programming.kicks-ass.net> <8734py6gvq.fsf@oracle.com> <20240606115325.GD8774@noisy.programming.kicks-ass.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240606115325.GD8774@noisy.programming.kicks-ass.net> On Thu, Jun 06, 2024 at 01:53:25PM +0200, Peter Zijlstra wrote: > On Thu, May 30, 2024 at 04:20:26PM -0700, Paul E. McKenney wrote: > > > My selfish motivation here is to avoid testing this combination unless > > and until someone actually has a good use for it. > > That doesn't make sense, the whole LAZY thing is fundamentally identical > to FULL, except it sometimes delays the preemption a wee bit. But all > the preemption scenarios from FULL are possible. As noted earlier in this thread, this is not the case for non-preemptible RCU, which disables preemption across its read-side critical sections. In addition, from a performance/throughput viewpoint, it is not just the possibility of preemption that matters, but also the probability. > As such, it makes far more sense to only test FULL. You have considerable work left to do in order to convince me of this one. Thanx, Paul