Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp553006lqo; Wed, 8 May 2024 07:55:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV9V2yS+BJV8luEhDj0jU/Z7K6InkjyglffNcyLatznCR2K2972ZQgWLMDZcRXkV7sZ4rrCniZMs2UiDETD/yy26NYvxgx/1kPE1j5IcA== X-Google-Smtp-Source: AGHT+IFw3/gTxOXGcCjnUf/rJ/V8R1X85jzHlI2q2EzU3Gtn1NkCmfxGdoYBU9Aub3J+GGjDAoYO X-Received: by 2002:ac8:7dc8:0:b0:43a:bd5b:2c33 with SMTP id d75a77b69052e-43dbf4f7657mr24724641cf.3.1715180135304; Wed, 08 May 2024 07:55:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715180135; cv=pass; d=google.com; s=arc-20160816; b=Z7UZarBwnAL5hUbJH2oJwRombVCe+7WTTaAR774RPFcnMMssgrBVbShNnN2kFZZMpz wj8s/UtsoM1FTvBg0QVwxMM7vWJB3FMCjiN7iifG6nh6Tu0rEGwHBbyfPZHp3zF3t5I0 +EPgHkueT46irh02CUDlB+q0drF2TwVvzM/zhVrQGWZl57Qide8tCAUGaD+CKuLfT67q BNcQ/OoTxlB0DpPmTKCnNnhJqNZxAOjmNRcXAUUgGl7vPp+huCT7i+dbbcoJ+JNpm4o1 7oS1xBg3cVeAuLT3boMInCqainfkuTR4S5AVRLIkCwCskSlAwUQf9YN6RpWkzBCQBprF zYrw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ULuMKANpouOo89EYcvvYQGG7iUOASbK+veNdnwBrjkw=; fh=EXeh0QXD8yIO7zRa1z9rYWjTgJJfRYmA7W9VW6WYneg=; b=wy4aTLIAwu72pmpk+zlUgkQjEM4mpjqMrxYqZsDp7lKvWVH8jwY4kXzJ38BDz5JgCq CslTLF+YLhk87CrxaSDhgWbqtIW2KxOiG7b9eH9fNbk7I0R8yhw3BjzeDEeMZbBdAHuq 0eyHqzQJp7ABh/8tDRjqVFbkX+F84Llj9E6odBstO6JJ9BIu8iJhM2UpvCtwykXPNsLU +E0JB9MvLsKaqlSDCJ8dF+sZW4+XS1SaPdU2yg97m4lt90W0ih0yV8+E/UTRWQ0Ct+Ve ZA0g2S5irWHZrDgg4GXlefh71I/zREVWlOvcLDalq0qFQpwDbe8KVGrxdvLzQamP+DbC JBfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CmY2I9Kn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173444-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bb13-20020a05622a1b0d00b004368a2e8f1esi14878775qtb.524.2024.05.08.07.55.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 07:55:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173444-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CmY2I9Kn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173444-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173444-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id F16D81C21B69 for ; Wed, 8 May 2024 14:55:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6BFA1272A3; Wed, 8 May 2024 14:55:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CmY2I9Kn" 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 C4FBB126F32; Wed, 8 May 2024 14:55:11 +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=1715180111; cv=none; b=ZLIUkUEFTt5V2zXebOLGlPLoOi7THCRcFdW7i/lPUpqxbPWPo3hG+4narOXAcTxMogJoxYbfNgJ9beoDHeUuvR4N2PUTw3B0DWJ+5WTldode7XLl2+1aX0cNJ8Et49DhuuPS7oFakzJHJC7lZqVTGLvueQwd8n3kyXYKP7fLE+U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715180111; c=relaxed/simple; bh=e/Vq3mzFZvYVxvGvhb41dxlfmvKiC5BzmYJi9fjCl98=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FfQl/9WGIzDSBhClFUlFuJcUm0Kgt93D1PwCjli8UUFDzsxrBOW3sz7F6hYuYivNNf0mBYyv877t3S6wnPyAVRsSd9mSkp2Zc7A8spuZ8h2sVW9XrO2i0aKjOdLoDawdTWw2c+mhAWy2nXnrYEccowywdO/HJ24cmjmKKIgTnBY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CmY2I9Kn; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED3D0C2BD10; Wed, 8 May 2024 14:55:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715180111; bh=e/Vq3mzFZvYVxvGvhb41dxlfmvKiC5BzmYJi9fjCl98=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CmY2I9KnV7WC332LXcYFBhEMd2AxtzU5THcs/Fwd9I1rkoQhNc1e4O3KwS1VPMcwB CL8+qcs+7C69y3bGCzRfz6D9d5nWELxwXPF35bQt9V+VIzx8WUeqpCvPlZwQ5pj0Uo KRh3RZWXyqVgs9cvugI4ZCGwo8pGXbL0v912ZJltUswrpEMtZihuj207vU5zElMma7 AFJLBHaWpm/2nh5p2n0PMmNDg6nptIdq+IRiFn0w4CX33Arjl24DqCpL/Y+o4kpqcW oC7jQn9U1LlTwOHUL24ta6ok0ZXdrS1HrWXw0vrGuVb0G4iZ7IZKrJxR9ofZ+YZ4kD RShBXjXtex34Q== Date: Wed, 8 May 2024 16:55:08 +0200 From: Frederic Weisbecker To: Valentin Schneider Cc: rcu@vger.kernel.org, linux-kernel@vger.kernel.org, "Paul E. McKenney" , Peter Zijlstra , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Zqiang Subject: Re: [PATCH v2 26/27] rcu: Update stray documentation references to rcu_dynticks_eqs_{enter, exit}() Message-ID: References: <20240430091740.1826862-1-vschneid@redhat.com> <20240430091740.1826862-27-vschneid@redhat.com> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240430091740.1826862-27-vschneid@redhat.com> Le Tue, Apr 30, 2024 at 11:17:30AM +0200, Valentin Schneider a ?crit : > rcu_dynticks_eqs_{enter, exit}() have been replaced by their > context-tracking counterparts since commit: > > 171476775d32 ("context_tracking: Convert state to atomic_t") > > Update the stray documentation references. > > Signed-off-by: Valentin Schneider > --- > .../RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst | 4 ++-- > Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg | 4 ++-- > Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp-fqs.svg | 4 ++-- > Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg | 4 ++-- > 4 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst b/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst > index 0533814a1f69a..50fc99aba777f 100644 > --- a/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst > +++ b/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst > @@ -147,8 +147,8 @@ RCU read-side critical sections preceding and following the current > idle sojourn. > This case is handled by calls to the strongly ordered > ``atomic_add_return()`` read-modify-write atomic operation that > -is invoked within ``rcu_dynticks_eqs_enter()`` at idle-entry > -time and within ``rcu_dynticks_eqs_exit()`` at idle-exit time. > +is invoked within ``ct_kernel_enter_state()`` at idle-entry Looks like ct_kernel_exit_state(). > +time and within ``ct_kernel_exit_state()`` at idle-exit time. And ct_kernel_enter_state() > The grace-period kthread invokes ``rcu_watching_snap()`` and > ``rcu_watching_changed_since()`` (both of which invoke > an ``atomic_add_return()`` of zero) to detect idle CPUs. > diff --git a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg > index b57210ecd689e..c7d16b72f0973 100644 > --- a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg > +++ b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg > @@ -607,7 +607,7 @@ > font-weight="bold" > font-size="192" > id="text202-7-5-3-27-6" > - style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">rcu_dynticks_eqs_enter() > + style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">ct_kernel_enter_state() ct_kernel_exit_state() > xml:space="preserve" > x="3745.7725" > @@ -638,7 +638,7 @@ > font-weight="bold" > font-size="192" > id="text202-7-5-3-27-6-1" > - style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">rcu_dynticks_eqs_exit() > + style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">ct_kernel_exit_state() ct_kernel_enter_state() etc... Thanks. > xml:space="preserve" > x="3745.7725" > diff --git a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp-fqs.svg b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp-fqs.svg > index bd2b33e05447f..bcb71714b4197 100644 > --- a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp-fqs.svg > +++ b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp-fqs.svg > @@ -977,7 +977,7 @@ > font-weight="bold" > font-size="192" > id="text202-7-5-3-27-6" > - style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">rcu_dynticks_eqs_enter() > + style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">ct_kernel_enter_state() > xml:space="preserve" > x="3745.7725" > @@ -1008,7 +1008,7 @@ > font-weight="bold" > font-size="192" > id="text202-7-5-3-27-6-1" > - style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">rcu_dynticks_eqs_exit() > + style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">ct_kernel_exit_state() > xml:space="preserve" > x="3745.7725" > diff --git a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg > index 8ece2b559bd35..e110b0ac74ffe 100644 > --- a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg > +++ b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg > @@ -3107,7 +3107,7 @@ > font-weight="bold" > font-size="192" > id="text202-7-5-3-27-6" > - style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">rcu_dynticks_eqs_enter() > + style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">ct_kernel_enter_state() > xml:space="preserve" > x="3745.7725" > @@ -3138,7 +3138,7 @@ > font-weight="bold" > font-size="192" > id="text202-7-5-3-27-6-1" > - style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">rcu_dynticks_eqs_exit() > + style="font-size:192px;font-style:normal;font-weight:bold;text-anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">ct_kernel_exit_state() > xml:space="preserve" > x="3745.7725" > -- > 2.43.0 >