Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1895249lqa; Tue, 30 Apr 2024 02:25:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTDpzLTz6wLY6pojRhfxd6AOYEDwRo/ybUdxXa0EQx/Ez68rOos8R1gd5qDxAzjqEoru4bldTCP+FM+O/LFrGiU00Q9YWYLWyed4c9bQ== X-Google-Smtp-Source: AGHT+IFjWw5roqXjq54afnuzOxnkFoG3VO61EaCW51uxqN4BVkOXbaIYZYjLpCCBcx5vsYin2KpW X-Received: by 2002:a17:902:7087:b0:1e6:68d0:d6c1 with SMTP id z7-20020a170902708700b001e668d0d6c1mr12862121plk.40.1714469110521; Tue, 30 Apr 2024 02:25:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714469110; cv=pass; d=google.com; s=arc-20160816; b=HGkHbwBLOJRTnv+ovxilY1yYf1KITDf0bz6zPWVRUqJJNU7XEcRs5R8tZA4hLWilg+ yZE9Li8FP2vafv2aXyuIcGyL86IK3rcftXLcKCkdf0rJPZZtT/HAe2bMqz02s+L/6HAJ AXUATvNmA6h6w+aKWCGdEYjViE6mc3YPEyT842JGwese2qxFSE3+f98vaUkYNergnC66 9N46UGf9scqZfb/X3xi3RBpQvi1/n3qDlLDWmdrclIVl6i0ktL47Jyj7wxslJIUe1g2d 3svJ4UUkjLuiMR0KW/iglqVC+RXJZ5pJb8Byyst6Qao+SIwjjSKvY3TATPZxgDeCgvQA N7uA== 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=9Eya/4/g7fR+WjNOhBTd8JUBjKQiwUeiPhXDYb2fngg=; fh=WzinSAfJjQwQsWhpsrf2fBMcmep3NnSwaYa0TI1U7L8=; b=gCevzXZExpN38sIZaouiSZ2mShDlL/KY/B5JYId8Ih+G3MSwwkOB0c9huZFgoN473C 0vKa+qGE5VrYwx3FPcOcL0F54pXZHF0vqju90i/3kJJdEJzvde+qeZN7SSyc7GUemGJk 8vXyeTDm+fnZS89aiE7q+kheekTA7mHMULFkv6sEqD05+wZSdDTbcEh79mYyzUEMitWz N9jYsMAAuc+NQhJxn2Mlc2PwYmHf4bBmtOBtE9QOWz4KToF9BlZsMJvYBOUg13eoHtnB BXBmzdQNVEo3Esn04LEgaFX2uRZs2xxsuwtoY49HiXKgt4DJhcQjBOWgvTQjea+pkrQJ pkyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EPUTj509; 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-163668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163668-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bj11-20020a170902850b00b001e6764cd77bsi21439212plb.350.2024.04.30.02.25.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:25:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EPUTj509; 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-163668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163668-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 5A33E2831F9 for ; Tue, 30 Apr 2024 09:25:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADDDA1C8FA9; Tue, 30 Apr 2024 09:19:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="EPUTj509" 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 2C8B813B2A4 for ; Tue, 30 Apr 2024 09:19:17 +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=1714468759; cv=none; b=TA217X4sdp1JdJe3R9go2Oo+JE2QjXvvP893eDKBypB1gMrWSBzR2mLB68y2ppygVicTvCVHgyjJC6eH00494ZQolVLhTPF+uCEaEcIv/c8LIS7+KmZR8JkX1MzzQMkgh5LOMVZIdN5qy2j+gQkKy7tHgzrKwN4kxouMmGQ1bM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714468759; c=relaxed/simple; bh=vlKmg6DA9wKcQv4r39yuQQ9vwNlQ/qJHYXaw/L+5ZPU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=is7TD9QyH7mwt18juJGm+jSHix+pMeFABIX5Z2PiiHKYsOps/o2oY3mbZe4WtTGVXlpooMadf/Ph/kdKymU2MJGKPN3qBfRUXXcdA+Otw51LBEWg39kX7t2lEyoDMP2CiH0/dEKymrePIvG3J/gKAL+4Um0ctCGxDVrv2vgnu2o= 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=EPUTj509; 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=1714468756; 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=9Eya/4/g7fR+WjNOhBTd8JUBjKQiwUeiPhXDYb2fngg=; b=EPUTj509at9K1GnvMFvefRq48YnWOm0yBu9m+0w7VJRgOCzRftmEpw3InT3YpcSdQLy7Er 2fVbVogL2mfdLvxxqkBFA6VBbZnUOqrDOcCNsnAsRukE5jcB6MnoCMGuPTUKIKgXkfqraJ lkPHvxwAXrRO+FfCgnxBUAFdmmlmWrU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-378-ok1uK2niOk2YG8amtCYDaA-1; Tue, 30 Apr 2024 05:19:08 -0400 X-MC-Unique: ok1uK2niOk2YG8amtCYDaA-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 0915418065B2; Tue, 30 Apr 2024 09:19:08 +0000 (UTC) Received: from vschneid-thinkpadt14sgen2i.remote.csb (unknown [10.39.193.247]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E2FED40C5C3; Tue, 30 Apr 2024 09:19:05 +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 22/27] rcu: Rename dyntick_save_progress_counter() into eqs_save_progress_counter() Date: Tue, 30 Apr 2024 11:17:26 +0200 Message-ID: <20240430091740.1826862-23-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 The context_tracking.state RCU_DYNTICKS subvariable has been renamed to RCU_WATCHING, and the 'dynticks' prefix can be dropped without losing any meaning. Signed-off-by: Valentin Schneider --- .../RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg | 2 +- .../RCU/Design/Memory-Ordering/TreeRCU-gp-fqs.svg | 2 +- Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg | 2 +- .../RCU/Design/Memory-Ordering/TreeRCU-hotplug.svg | 2 +- kernel/rcu/tree.c | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg index 423df00c4df9d..961b2595241fe 100644 --- a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg +++ b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg @@ -528,7 +528,7 @@ font-style="normal" y="-8652.5312" x="2466.7822" - xml:space="preserve">dyntick_save_progress_counter() + xml:space="preserve">eqs_save_progress_counter() dyntick_save_progress_counter() + xml:space="preserve">eqs_save_progress_counter() dyntick_save_progress_counter() + xml:space="preserve">eqs_save_progress_counter() dyntick_save_progress_counter() + xml:space="preserve">eqs_save_progress_counter() watching_snap = rcu_watching_snap(rdp->cpu); if (rcu_watching_in_eqs(rdp->watching_snap)) { @@ -782,7 +782,7 @@ static int dyntick_save_progress_counter(struct rcu_data *rdp) /* * Returns positive if the specified CPU has passed through a quiescent state * by virtue of being in or having passed through an dynticks idle state since - * the last call to dyntick_save_progress_counter() for this same CPU, or by + * the last call to eqs_save_progress_counter() for this same CPU, or by * virtue of having been offline. * * Returns negative if the specified CPU needs a force resched. @@ -1981,7 +1981,7 @@ static void rcu_gp_fqs(bool first_time) if (first_time) { /* Collect dyntick-idle snapshots. */ - force_qs_rnp(dyntick_save_progress_counter); + force_qs_rnp(eqs_save_progress_counter); } else { /* Handle dyntick-idle and offline CPUs. */ force_qs_rnp(rcu_implicit_dynticks_qs); -- 2.43.0