Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1895504lqa; Tue, 30 Apr 2024 02:25:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxs7z/+0AwKgWyk62vrcb1+igfmCcQKBp8TWV13qc7qmo+7s8cBswTxy4XhCGEbXtM3SHLauhlEmMJgAJ0ADyE4QpMXryCmnSuoX9yrw== X-Google-Smtp-Source: AGHT+IFvYNZ39RtEfBuq5us/b0DokAlLyCvQAFTzUsygpPa9UdAUFT5SijfPGE+N3efO/g828X2Q X-Received: by 2002:a17:906:a152:b0:a51:c88e:e95a with SMTP id bu18-20020a170906a15200b00a51c88ee95amr8488063ejb.23.1714469147523; Tue, 30 Apr 2024 02:25:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714469147; cv=pass; d=google.com; s=arc-20160816; b=Ji5HLc4l9zslAPgkxl/MsXJCs3Bhu/Jz5g1kYQKoQ+n1gVV+SYlu0yvq10Gs+aF1tk xUEG+Jb9Jmw7YdU3d2hTKGzBubTm7g673/KGAdvvFS8wBOPgvcwy7MChNLfUSFlIBcr/ X5zal2DHKYVBqIkT8sCAL9CP0L4xi3g1tpBceRhj9cz2HuPG5G4s3shH+DDNrGACwiXE mmsl3qXJ2ccTfLpblLKxvtQ1YJslNF89wUtfPpBOcvVG65L4BNafONZjohtIVaVB3ZlJ 9wJksUOeigeU7L66pupEdWxZG2YYfyEHdenGnHXpTa8PmoHTpFD2a+BHCValVe6MTwKP 8SAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=cr16UT0MedV0Vp3mwekrGAUra3AvoUK3dAixRbWR98k=; fh=WzinSAfJjQwQsWhpsrf2fBMcmep3NnSwaYa0TI1U7L8=; b=u2WpuPS3FAaYV0UYmNv8wQWlk41SIfA59C9ugn54hTlK7bFPXa5uWpYeFJmTR5aghu AfCWxSIrJuZ5x0y51SuMl+hXQ0a6Kosk7BfDrRSzvVi9dKvzsL1k1kHjR7lkHZ0FjiOv DdS6c1cbTNerotrNGvvOoaDY6vhgP5/eiSEY56qkliAaHc8sN8Jb8NFmrUNBH8IJnrNk btEqi7zDmvf4pNn6sGjmxGLFu7aReS26bsM5FXnnOUND4icbQO5q2CHC6vXLQcBGd/iC l0gWRTugdbyYwQwr5Qk183xIIonp34KW2LO4gKubRZqDMUlA0VbXBtaUSIKGCplIVAW4 q8tQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Gwmu/Ds3"; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-163671-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163671-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id lu7-20020a170906fac700b00a519441a20csi15065221ejb.512.2024.04.30.02.25.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:25:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163671-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Gwmu/Ds3"; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-163671-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163671-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 1B97F1F22FCA for ; Tue, 30 Apr 2024 09:25:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4580D1C9EB6; Tue, 30 Apr 2024 09:19:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Gwmu/Ds3" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 A1C471292CC for ; Tue, 30 Apr 2024 09:19:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714468765; cv=none; b=R5DepMcEXCgK19WNl275Jsh+7nRGyvC2/5Sdp/2fzY79MQ+4a6z03QtMUqj+MSYpdS40kolaIFOahW+nypUQIzIS0YJpeSv18y7mqYWUrPNqM1gIgmAWz9Gp2xTlAaVHt0k1cmYQ6+spyItwOvptUbWIiS3r/qzRBfWYuqLeiDE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714468765; c=relaxed/simple; bh=EhzmsmACDjSS2wF8AAU8jhpFiZPWOh++BLOw9/rEa+8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kvX+dE0ORsfh7TsqvFOOQsykQUHcLxb2ZUTKyvqT4XaQkmx13spDmM/H6piD4x0LhpcdoMSQ7TeZFXkqEuCC66lVyIAEnjwM25W08sTlw2SdxfaXbV697lmaLcBi6hQzOpZFTKacX1sFLEUsHyv5ot1F9uV2533rog95iy3r+rU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Gwmu/Ds3; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714468762; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cr16UT0MedV0Vp3mwekrGAUra3AvoUK3dAixRbWR98k=; b=Gwmu/Ds3hZADpsk+ALtqwcO/q36/1wkxuGzjzpZDEAHWZBXbQEgebxj1oi2+x3FdrvlHHc 74lHVOe35NAe9E2p4qvwbllMf/wufj6g1MEpqU5rKZA8LcvGjYLwAHw4V+vzX8O1NTJVxG YAbL3ueeAyGC9k2AGr4qtg7JStSZZ7E= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-192-1YdhBgv9NS6dWMlzMt85DQ-1; Tue, 30 Apr 2024 05:19:19 -0400 X-MC-Unique: 1YdhBgv9NS6dWMlzMt85DQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 757ED3806738; Tue, 30 Apr 2024 09:19:18 +0000 (UTC) Received: from vschneid-thinkpadt14sgen2i.remote.csb (unknown [10.39.193.247]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5220F40C5C2; Tue, 30 Apr 2024 09:19:16 +0000 (UTC) From: Valentin Schneider To: rcu@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Frederic Weisbecker , "Paul E. McKenney" , Peter Zijlstra , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Zqiang Subject: [PATCH v2 26/27] rcu: Update stray documentation references to rcu_dynticks_eqs_{enter, exit}() Date: Tue, 30 Apr 2024 11:17:30 +0200 Message-ID: <20240430091740.1826862-27-vschneid@redhat.com> In-Reply-To: <20240430091740.1826862-1-vschneid@redhat.com> References: <20240430091740.1826862-1-vschneid@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 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 +time and within ``ct_kernel_exit_state()`` at idle-exit time. 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() 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() 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() 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() 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() 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()