Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp525714lqh; Tue, 7 May 2024 06:40:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxvzp2zMMTzok89ZEIosXlbSAmN5jMVO4nFqn3T+NhoGntsRhb3uB7PgekZz6FgFfEJMNQcH9+se1Cf4H27XcUj+04t2qdI1G3no2z4g== X-Google-Smtp-Source: AGHT+IHHaZVMZqwpvo2IFdajvaZiIWkKymOWahlmWO3AtZKqhUsHilVi+vcgpZl6WpWjSAzHY9Lj X-Received: by 2002:a05:6808:1898:b0:3c8:7599:d6a3 with SMTP id bi24-20020a056808189800b003c87599d6a3mr16912151oib.11.1715089253079; Tue, 07 May 2024 06:40:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715089253; cv=pass; d=google.com; s=arc-20160816; b=qlKWEOpYqCm/ZWA9DC8oHMstPinoD11JMPw+ZK93wJMIvB1W71IXTFkYRmsUpNr3lM 8DUjO2k40wIhqsaNp0re/JcI+TaygSeTpfDwRG6cp152WBNB5xMDopzU1hAlSwYuF/IJ lwB3T1D4y3YWJBmSauC+guaDASAzjV+4AjGr5fqDudVlZUExcsa2m3wJ7wkQfdvHDfY0 brzhuzFHRNEhUR9hkrg8TMH9yD2oVOzoB/BMq/kbPfws+pwtg4bvKaeH2C5BNSk8TKOy olR4n+b+gLAwINU29uws8zMpioLN6W2R3aytPrKo+hATzOeKnA207mTIWJ4RUbOBXTWh yigw== 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=s9977jtOWzR/oAXx8lIfbzOAZ427FBL6Ze+yVQycVRA=; fh=EXeh0QXD8yIO7zRa1z9rYWjTgJJfRYmA7W9VW6WYneg=; b=rqusWeIDOU8cDZkc6EUByoovjDD7zuQb5f4Nn1Qh1RvVDc/eKjUhAGMax3KO2rJLc4 iS0Nzs5dguXiYEzgyjgZcSlhOeX2i2RzwOyor/Qx12/g60CHwuTiFaKyc2DoYwnJNxbD +xaZtdssrYADCbxCNkEsmne6tCuJuWs8vaHr3Hekw3a/xQcv82ROICQbeh5/QqslCyqC NtasSbTDJkw+YU99xvm9dPex9xjWaedPoR+sAS0FeoFArB7/OvmmSXZc+VK0k5zS3ahZ 2rUv5PEl0fjdRDm1JNxuvX9kEqyFP6jVON+45fmoankpDkPUEGoYtrhWDfokwqAtdML0 UUxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PPVM6tgY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171448-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171448-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 13-20020a0562140d6d00b006a0b1a7975bsi7691866qvs.209.2024.05.07.06.40.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 06:40:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171448-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PPVM6tgY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171448-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171448-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 7AE3F1C23DE6 for ; Tue, 7 May 2024 13:40:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E76C915E5B6; Tue, 7 May 2024 13:32:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PPVM6tgY" 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 17EB916D4DF; Tue, 7 May 2024 13:32:39 +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=1715088760; cv=none; b=C9zGORXu2vhiYw+njxX1o/zBtWqoUKReQsqLFcFgYIrzNXsLuupYLl05paXLI4tTqT9Hjyo64bzg3q2cz2kx+om4UxHaSKl8PtbfBdp6kOcUPUpcU7lyNgSVC0Ru7809/zosmBEa+QuHmmiivdC0CkBcpI+41nY5FBzydhUitJg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715088760; c=relaxed/simple; bh=G6I17PDBQdLIDBAVhfjVBp/SrAW4GX4/wPzwmMQSKYw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JUUkJgWhEJthIC3d/V9DrS77A/h+VrgPWZAwdsl9/WaldqRteVND5FeaYP4cNk++k64HDNTmiyFgKd+h6vxUM2YQA0e6TsHpJSs1iXgUHf2DI2BReyzJPdj3Vk07OJu0jVHPWlZu3r8QXlAlCQU8uGITmNoBBoViGQt8Dupt6x8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PPVM6tgY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 529E2C3277B; Tue, 7 May 2024 13:32:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715088759; bh=G6I17PDBQdLIDBAVhfjVBp/SrAW4GX4/wPzwmMQSKYw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PPVM6tgYD0JdV7kF9pFpuUUG/SmXrDjBL3V4gGBLj05sJH+TsGk/K2R7NAmMT/mrz oUN+ueHb1ZTrKScUeZVpBLk7NN7F5SOdGocLE162Qf5kDa+mpBSwBcYZVx1PBEUKY+ OYzw8voqQymQyCxDuoim5dkWKd1wuCae0CfTcm1eABBTZUMaH4dZWG1Cu4mbLM6A6C k+1YhnWb5PrPrO1cA/LjjV8qvECmwFRyeCzxe3Hb3BPq1m6mnKAKMIC6dbazZigoJE 3l3Urdk991Hoqjy2I/T9HHQNDvJuvktJAvKFAq0bwflwIqnUf9UFDiOK4FWFZ92qc7 Lp+8/fNIywzAg== Date: Tue, 7 May 2024 15:32:36 +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 17/27] rcu: Rename rcu_dynticks_in_eqs() into rcu_watching_in_eqs() Message-ID: References: <20240430091740.1826862-1-vschneid@redhat.com> <20240430091740.1826862-18-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-18-vschneid@redhat.com> Le Tue, Apr 30, 2024 at 11:17:21AM +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 | 8 ++++---- > kernel/rcu/tree_exp.h | 2 +- > kernel/rcu/tree_stall.h | 2 +- > 3 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c > index 857c2565efeac..d772755ccd564 100644 > --- a/kernel/rcu/tree.c > +++ b/kernel/rcu/tree.c > @@ -308,9 +308,9 @@ static int rcu_watching_snap(int cpu) > > /* > * Return true if the snapshot returned from rcu_watching_snap() > - * indicates that RCU is in an extended quiescent state. > + * indicates that RCU in an extended quiescent state (not watching). *is in > */ > -static bool rcu_dynticks_in_eqs(int snap) > +static bool rcu_watching_in_eqs(int snap) I would be tempted to propose rcu_watching_snap_in_eqs() but the purpose is not to dissuade people from intoning RCU code after all. Reviewed-by: Frederic Weisbecker