Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2234267lqo; Mon, 13 May 2024 11:41:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCaSMiIuU8fLYuSrYXwqf9JlWjvzhA3t/x2D6QjC8DbyuJDgXb+Q5DGL6/9SKLnK1oUbiCyNKMdHfGCohA64bLrxlMfVv7/uaDMM/frg== X-Google-Smtp-Source: AGHT+IGyd8J7ZVCFDf2rjFQUNWxwrVC9tC6BauLCcUldP3cw01j+idCBN7/lnQcJ7WhjRlpk57BV X-Received: by 2002:a05:6a20:9492:b0:1af:cc10:9d3 with SMTP id adf61e73a8af0-1afde07ce54mr9599703637.1.1715625689180; Mon, 13 May 2024 11:41:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715625689; cv=pass; d=google.com; s=arc-20160816; b=ipfidS2ZL8SjznUDDGhB3uZE/hmAyqHGw1RDQnExPwPc0gPT9iz2a1M+VBSr9BPFpm vL2SkQJ2x788KNt1GjbEdsqeKs5a5hjk0D3cOfCQRPxbNJp/S3tvpADTEOgg8/LNvGR1 omuggeqvz/AiredtL01sXjaGj4U8tQFXBHJQqhVnnPmT5An2cMzxBiMd+PbZRSrlrDTj 3wFwrbXWrWJiB1gtl+Qlo2veQ8EyGw6ocw+jSer3DLLiLSolzEqoqvPYWxPPsCOL2Nj7 EE0aeosTuY3aFsX4AnoiTJHYd/u80dLGgCVq6Y171INmbm7Z1Ur6+oWC8k4CMVV+a6/n kpgQ== 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:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=MFyeuVqyMFnhtNKuGHnJL7fY7DbMXwMj2UMfkdAHlY0=; fh=T8YNgKil+nKhFknuiiJVLUfi9ikCEswsykwnfakNmIQ=; b=moPpkhskDg3Ygn3k7HPRltqHYj/aOZ00LKlydYMQ5KrphFujb8pejUjcPL29xeqhfY bNwBIiSLPDacDENhQG12yVbc1EqnHdX4g4dlVQm20dlUDMRdv5dfLFfaIG55S/6u68Np BQX2JkLD8tyKyWt/5CvYvqPSIr+T8Quy7Y0LZjAkI8VWSLn03oBBBlzD28t0OC3QQjEJ o/+sLTIBMjPnyY+FA/sh/ndrGifodDNnD0yWyyKoVsFStqI1a9klpfJcWAflv1M6b9nP TGiHF7MjnNxGGu84JHL0qAOV55gANA/YlvcewEIU0pHed+4jRLy+Oc5TFPxK8HvNNjWj 2fuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gbEhZ5qF; 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-177978-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177978-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2aeefd0si9494048b3a.198.2024.05.13.11.41.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 11:41:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177978-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gbEhZ5qF; 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-177978-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177978-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B4A3D286E2C for ; Mon, 13 May 2024 18:40:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 59D9239FEC; Mon, 13 May 2024 18:40:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="gbEhZ5qF" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 B2B792C69D for ; Mon, 13 May 2024 18:40:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715625631; cv=none; b=qcvSJXM+fu4n1U4GQUICHhKLZ0HLMkRPkVP4FR/d69EmR7eI8Wx+TsCa6Qxe4X8O+3qxHWwim8SkzrE4U05veg/Qjb4E/NHWJc+oQZtfP6CD9hYDatNoVFa9vWVuzPt2k5oQMBUbJDvJj8zjnxmn1of7P4EqBL6QjhCc+WX0zus= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715625631; c=relaxed/simple; bh=wsS4m9jNroLUwgmcM5QQE60bNETQtMEKh5JkIRElsQM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Pjo7DzoJG9VUk060w7P4GTAvKd0WLA1LXS92Bucmq6pqfAt0NqZW7iretKYHuz9qhgaGf9XoQa8d3W46PPIVf9mrCZlKAslkVjFwFVJcHfupLVEhxCYj94xksdp1rNYLZagsEW2nyklBBPucwW3JYdxd4rwCqutrw8CyZn9T6Hw= 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=gbEhZ5qF; arc=none smtp.client-ip=170.10.129.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=1715625628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MFyeuVqyMFnhtNKuGHnJL7fY7DbMXwMj2UMfkdAHlY0=; b=gbEhZ5qFBYXjvvymVQs0h7hv/0xU6WngKi6cWLxKyAs2rYfJKoS12c3IoxgLy9IXH0+h7L BtmQtQgw1bjDODNDxYMtO1baszDuqrr86ESWtBn5jQTQ5WAC+Yc44ihBQLpaBMNDw6IT9s +Sr1CrjH/WmvXLBM0uCxBMuCiOUzfvg= Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-157-hjxm2TuANhytfxRhrnzsTw-1; Mon, 13 May 2024 14:40:27 -0400 X-MC-Unique: hjxm2TuANhytfxRhrnzsTw-1 Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-6f3efd63657so4279672b3a.2 for ; Mon, 13 May 2024 11:40:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715625626; x=1716230426; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MFyeuVqyMFnhtNKuGHnJL7fY7DbMXwMj2UMfkdAHlY0=; b=Z28XNKol7bJGQe7es+kWPykwKDZ5vmX/SwUIXPWZ2ug+AEFQaKVDfXk2lV82bIMsqo kkmcAg6rbrmVCxzSba2eQ8xLrJlORSJyHRdMDfLvUW6xQqJhOJ80Cd+mmoCpGaBOGPsE PTt+QGqh7c2O7JfH9Knui7pFQf2nCAKwCBV5EnT/OcI+qGb0iTP9BoAH8pv3o2PX6zvy jos81Ml3t3g8bU9gNvBdsZ/onQ4RToz4BffWhQz35y2g+LMRw2f/+cbGy77mQikJdSFv AjJJcjnNmWbxE460hVfS8cDAzUfJD7BO4mZaYAlBgMojC309NnG4hQCeuTlL4aAtg1GC fv/Q== X-Forwarded-Encrypted: i=1; AJvYcCV/avzAeGmtjjvlF59hr6g8IhYK6anH9wT8UDx8HSqqDmFU3LltAekHvYQzdpKEaie+i3wf/KiU+h6A+u56NemPO1YakgfP0dLJ8YEY X-Gm-Message-State: AOJu0YypNYzLDpVEivK15tBmLmdreeR5vP4VP7cHAsYg2W96EwYrMyb7 mX6f6PoY9s0qyxd/md4I5gS16PKafU+WW1CpqKrdLitj/vpZZ8fuLvsfWvSoyV60RffVvXKCvK9 cpXhQOrI9x64NVCvaMKi+/dNNj9E+pVTxS6hmFB9a6UROWAG7vaOCYZcxJ+c2tw== X-Received: by 2002:a05:6a00:1312:b0:6ed:21cb:13f3 with SMTP id d2e1a72fcca58-6f4e02ecde9mr11814145b3a.17.1715625626279; Mon, 13 May 2024 11:40:26 -0700 (PDT) X-Received: by 2002:a05:6a00:1312:b0:6ed:21cb:13f3 with SMTP id d2e1a72fcca58-6f4e02ecde9mr11814114b3a.17.1715625625812; Mon, 13 May 2024 11:40:25 -0700 (PDT) Received: from vschneid-thinkpadt14sgen2i.remote.csb (213-44-141-166.abo.bbox.fr. [213.44.141.166]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f4d2a66c54sm8035257b3a.40.2024.05.13.11.40.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 11:40:24 -0700 (PDT) From: Valentin Schneider To: Frederic Weisbecker 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}() In-Reply-To: References: <20240430091740.1826862-1-vschneid@redhat.com> <20240430091740.1826862-27-vschneid@redhat.com> Date: Mon, 13 May 2024 20:40:20 +0200 Message-ID: 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=utf-8 Content-Transfer-Encoding: quoted-printable On 08/05/24 16:55, Frederic Weisbecker wrote: > Le Tue, Apr 30, 2024 at 11:17:30AM +0200, Valentin Schneider a =C3=A9crit= : >> 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-Or= dering.rst b/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Order= ing.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 follow= ing 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.sv= g 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=3D"bold" >> font-size=3D"192" >> id=3D"text202-7-5-3-27-6" >> - style=3D"font-size:192px;font-style:normal;font-weight:bold;text= -anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">rcu_dy= nticks_eqs_enter() >> + style=3D"font-size:192px;font-style:normal;font-weight:bold;text= -anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">ct_ker= nel_enter_state() > > ct_kernel_exit_state() > >> > xml:space=3D"preserve" >> x=3D"3745.7725" >> @@ -638,7 +638,7 @@ >> font-weight=3D"bold" >> font-size=3D"192" >> id=3D"text202-7-5-3-27-6-1" >> - style=3D"font-size:192px;font-style:normal;font-weight:bold;text= -anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">rcu_dy= nticks_eqs_exit() >> + style=3D"font-size:192px;font-style:normal;font-weight:bold;text= -anchor:start;fill:#000000;stroke-width:0.025in;font-family:Courier">ct_ker= nel_exit_state() > > ct_kernel_enter_state() > > etc... Yes indeed, I shoved the sed the wrong way around :( Thanks!