Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp170198lqh; Mon, 6 May 2024 15:18:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVq97KTeD1uAv8tUVBAktqWI/vXCY7poUG6So+59sLtwnp1j/q3NtldL6AfpSeSI75I2qibHsVNBz5CACiGm4QArsR38K22tlTT2SQbcg== X-Google-Smtp-Source: AGHT+IFm6tHLeXucqNqPgO7/CvCAMf7Td2R8vW6L/Zw8apAEPsfPeIVwczRkWEb1bpz9+p1NhD7L X-Received: by 2002:a17:907:968f:b0:a59:de2e:98e0 with SMTP id hd15-20020a170907968f00b00a59de2e98e0mr2151865ejc.56.1715033912905; Mon, 06 May 2024 15:18:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715033912; cv=pass; d=google.com; s=arc-20160816; b=OZEvDEGyb9SrRtvwQm+zzRACcPsTlD+BJOUs1dO7sYrCYfLmpz25DVIxFtU8H6Dpcl 1wzvpjzPWb1nwIARCYaF2EVp8NXHza8jScU6yIlHcK5wtr6Yigr8RGZp9os0OigzlPuf ga6I3rtfNgw0ID1UBAqYVc/iGGROtLxrdh5j4ak4WwwzyhLgiFQ5MEDBGpUloGh0BXlA xaSqh+qM9ah7/d/ohVvvUh9pPUg3xk+DOeaN48IrMrcQCQktxWnB1JBhAqRlnY2jDICD D++m1CN8ic48BLBVyQiVFPCXeeyTDpqixGclXbVbIiElOl3j3XkTZ2o49uuc/7Pi2d6E 8i5Q== 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=ZMtcy0LGZWCoBUT8YeuuuEhOusSL8XBzJkOzTPamXu4=; fh=EXeh0QXD8yIO7zRa1z9rYWjTgJJfRYmA7W9VW6WYneg=; b=AhrRWzAPHfXhDngSx2FNa/Oo+07V5ebQnoohP4BTprk7exKM+waz32UrN89UhTVKRp Yz8Bc1eHS2OMCt97cm34wfnyxgnhihf8etgE1MQmKxlGaYCg/L5xCfmXQT2p3KPSgKrf xIqmcVYNsBiYe6o6Mnf+C3aNeL/YLro6KOwHz0b3yJXcYIfSJa4xQLA4BPurFWASAWGO XITM0ek+1BlOIRlieHKF/SZCp47sGC8RSgxhNEwf/l1ZDHFLnGHT//S3ZtwbGAa9r4J2 tFWN3JUEfeTP+ZAGmiG1jRZUMnkeIgkz51hmr3DlzKFo1D1rV5OqUJCWAgfFPAHPwbF/ Bu0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Bq+/M1ns"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170469-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170469-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. [147.75.80.249]) by mx.google.com with ESMTPS id ca11-20020a170906a3cb00b00a59c2a29930si2309276ejb.965.2024.05.06.15.18.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 15:18:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170469-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=@kernel.org header.s=k20201202 header.b="Bq+/M1ns"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170469-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170469-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 8FA0B1F2497F for ; Mon, 6 May 2024 22:18:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5552D15CD57; Mon, 6 May 2024 22:18:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Bq+/M1ns" 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 7977F84DFF; Mon, 6 May 2024 22:18:26 +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=1715033906; cv=none; b=CqGYVpHM5rn30u2K9IxYOFlNCMpdflC/WvbgzLPuCYWXGBmmXsSkCoWwdpqEDqB/PkbZ+DX0G45PI+Q7c21++AtC+syV+1id7TzXOqM1vVPCTq3U7ZBP3KXvJScKetsCxGQtfLInpkcB9Ys4KxxaG+h7SgkmLbv+DJFRVaaqH9k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715033906; c=relaxed/simple; bh=1X0wUuW9Rp2t/ahmzXCvAfNAoLvjif0qwEKzPQG+nWk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lisflUHRZNXiLdl6o0bz8vA3y9J/G36tekfUfuht86gYp5goVKeESmTOx1/OVPcrQsUMCvxScv/wnI4bdMLelsEmRcVsdwNwY9UmlP6RnFeUqn+dz0Bby1/noGgE2+OVeBcdi6utU3kyTC/C1/JxIqxfqt9Z9rkTFmc18Vd1Kpg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Bq+/M1ns; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95B4BC116B1; Mon, 6 May 2024 22:18:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715033906; bh=1X0wUuW9Rp2t/ahmzXCvAfNAoLvjif0qwEKzPQG+nWk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Bq+/M1nsawz1HY6ztPeJWhW2x1y0Mk4RjtvDOPIsR4FrsESg0yE73NDZ81WWMOuAN DIg1cqveBEocU9bkugIEJWbcXlwOAX5a0Cnn8rEareSSpe2QFN0wRMwEANqwTy5dGm pnPZBk9Vvov8BuOXfxmW3GvSARRgz13DT/9+CYSCYLbjfTQqBKS+SYa+HRbAEJcdFX S6u/Nbr1EOQr30d7CGJ1HmcCcaSRbojYvx8lZn/+2UZvmpoxydONLXVoWV/oTI8YQ9 TwUMvFLIhQe8B7txNotn36zyqY5UslOlM189kWvYPfYENpuJ1YHOjGN7lS50Eho0D3 SbAO2jEAn0A+g== Date: Tue, 7 May 2024 00:18:23 +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 15/27] rcu: Rename rcu_dynticks_eqs_online() into rcu_watching_eqs_online() Message-ID: References: <20240430091740.1826862-1-vschneid@redhat.com> <20240430091740.1826862-16-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-16-vschneid@redhat.com> Le Tue, Apr 30, 2024 at 11:17:19AM +0200, Valentin Schneider a ?crit : > The context_tracking.state RCU_DYNTICKS subvariable has been renamed to > RCU_WATCHING, reflect that change in the related helpers. > > Signed-off-by: Valentin Schneider > --- > kernel/rcu/tree.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c > index bb0d9dd8b6d3a..fe2beb7d2e82d 100644 > --- a/kernel/rcu/tree.c > +++ b/kernel/rcu/tree.c > @@ -280,7 +280,7 @@ void rcu_softirq_qs(void) > } > > /* > - * Reset the current CPU's ->dynticks counter to indicate that the > + * Reset the current CPU's RCU_WATCHING counter to indicate that the > * newly onlined CPU is no longer in an extended quiescent state. > * This will either leave the counter unchanged, or increment it > * to the next non-quiescent value. > @@ -289,7 +289,7 @@ void rcu_softirq_qs(void) > * of the ->dynticks counter are manipulated only by the corresponding CPU, > * or when the corresponding CPU is offline. > */ > -static void rcu_dynticks_eqs_online(void) > +static void rcu_watching_eqs_online(void) Or simply rcu_watching_online? Thanks. > { > if (ct_rcu_watching() & CT_RCU_WATCHING) > return; > @@ -5051,7 +5051,7 @@ void rcutree_report_cpu_starting(unsigned int cpu) > rnp = rdp->mynode; > mask = rdp->grpmask; > arch_spin_lock(&rcu_state.ofl_lock); > - rcu_dynticks_eqs_online(); > + rcu_watching_eqs_online(); > raw_spin_lock(&rcu_state.barrier_lock); > raw_spin_lock_rcu_node(rnp); > WRITE_ONCE(rnp->qsmaskinitnext, rnp->qsmaskinitnext | mask); > -- > 2.43.0 >