Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp351451lqj; Wed, 10 Apr 2024 12:19:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXJ9kHIddbngBVJgedq6z33U7Cl6SuS4whunevPbtsO5WEAMcivPCbBitUlTc3X49W4Rrmau6GYsnp6Bx6Ilwsx3WE3+m6JDuPKsa5FJw== X-Google-Smtp-Source: AGHT+IGlmlqAoZNxWa/wNr+lQomtKTRLXJHd0kdBCv1VlfgtAVE2hYxlV/Wxt4YIiNVoqdr+0By8 X-Received: by 2002:a05:622a:199d:b0:432:f697:8a97 with SMTP id u29-20020a05622a199d00b00432f6978a97mr3762804qtc.2.1712776782973; Wed, 10 Apr 2024 12:19:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712776782; cv=pass; d=google.com; s=arc-20160816; b=avlZoY48noa8rjaVVCddlb7jvoW/9EUKNKDuIpYNwXFVEsGeM3WFvEfcr1d/TUhWP3 ccP1a9Wam+A42lcOOwX06xkA7sF8hV+f+91p05IIGM/ljaGhyRyGcJdtXbQCZOx+bgXh 3blsMOl9RZNO7n19OUOg2OdpzM413/2LPLGFQPbgnequQh4tIeCxrpcHYj+3t7Ol5Wx0 O3FQf3UXME6+c921oKBLnr/LCV5eKuix7ibo0UQG906FudVKft19GTF7UNER/6I9f1ax RsosKyg3IDzUy2aVrmlPCDYrdx/50JxvwKYND+M/nBZaNeh/CwO5vQvkQqINvp1Vl1Jx 4jFw== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=scJR+E/xErYT4PIQSSY5K7iO670a8KbO5y6JfTGFXP4=; fh=++TvLIIunXeFddsiQT+evAaY8QhXyOG9A7zbM0Ilm08=; b=PoHc/PQhhdt0e5sJrk3RWfyJTGT+q/swXJMAqXVK2v7i3aDt8teML3GOoYD/TdzkD8 udVWOw6bUTn/LCrZTjY8KOE3AZPQ0GTseVACI92ycXd1CKAi9DG8MAH315yoUzbfLcxB dZ28k7g2KS4AaSiM9wuJcPdMgcw70uS9R2h/P1qVOinr0swYF22uc29KCCz/hKChKFRr 8oOMUseGGiZ677NDNzQZDmPU6/HfhnFBsdjNv0Bw0ixw/P8qIBZT5ucpWSTX12NNKczi tvgIIwcFIQcFxjsgCz0C0R4qXYy1haUZiJ4VWwCaU9+yKBTk1tCQBYbP/pF798h6vHAm HQoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jr0apBBM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139250-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 m7-20020a05622a118700b004364ddd5b6bsi915581qtk.606.2024.04.10.12.19.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 12:19:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139250-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=jr0apBBM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139250-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 AF4781C22EB8 for ; Wed, 10 Apr 2024 19:19:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDB38181314; Wed, 10 Apr 2024 19:19:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jr0apBBM" 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 0FAEF53372; Wed, 10 Apr 2024 19:19:35 +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=1712776775; cv=none; b=iAaPDy8LaSzh1fX3GvyPHK+7PQdkjrncCszuImRn0WrFXESfwYf7VjmA9KNgpuSRbnlbXSXsYSOyjCDCKVoqDmgsBirEhfpzDnhfZZRgakWiD5pYat0hVAL4lIih86oSMUf5I/DTKHJn7SO6DYq0XmWl6PAY2dFHWKRq8icUAuw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712776775; c=relaxed/simple; bh=K++b5c401KCoXtWP4zJWdo7+5dgf/l3qUVTQ7zgCO1A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Fnbr9yvWXCtiQto2MjqaBDPlQBJN4JNEVCP0ELvn5S8fKlGxl+7bORrooIsQo5N6DDI6rL9sUtgIhRCRxgBslVFhAqVT/+ut8Lo40Er1xiHpSogtOMnrNuqtOz1Jv77KPPBf/1w+6May7IMpQbhbiMJvDvTp1mCMLwK5QU94u6s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jr0apBBM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC58FC433C7; Wed, 10 Apr 2024 19:19:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712776774; bh=K++b5c401KCoXtWP4zJWdo7+5dgf/l3qUVTQ7zgCO1A=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=jr0apBBMdx0mEdxt0iMc+VLX/jeBy0z1fRlAU7NTEQ8bA/wmki/1aNR1Nut6vg5Yb SzNq+XpsWcfBelYlt1OBrEN169bwu2SI5dLlxni9jHDVNl9mHf/QTeCaCR3QRgn1BH 5/2QSshwjRl0RoYGGjmWQZ4eOOzaQriZ7DhyFkWlcu3zMw2m89mBOpdlQchWL8XGtR HA/rqPWtDdiY3UjlrkV2YeyqTxMm5oryZT3KR+t5BlQ7oBL0HaTyhwHjWICFqFmJ+S /Q/q3U+QYGd/fPVzyn25z8qIzFRVe6djGrhawlStV1coNIkISsMSyiVkWWAw5WP/PR wF5mannKW7g9A== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 70856CE1104; Wed, 10 Apr 2024 12:19:34 -0700 (PDT) Date: Wed, 10 Apr 2024 12:19:34 -0700 From: "Paul E. McKenney" To: Frederic Weisbecker Cc: Valentin Schneider , rcu@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Zqiang Subject: Re: [PATCH 2/2] context_tracking, rcu: Rename RCU_DYNTICKS_IDX to CT_DYNTICKS_IDX Message-ID: Reply-To: paulmck@kernel.org References: <20240327112902.1184822-1-vschneid@redhat.com> <20240327112902.1184822-3-vschneid@redhat.com> <1ef9d1f9-16a2-4ddc-abd5-6c3b7cde290f@paulmck-laptop> 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: On Wed, Apr 10, 2024 at 12:30:55PM +0200, Frederic Weisbecker wrote: > Le Tue, Apr 09, 2024 at 12:53:03PM -0700, Paul E. McKenney a ?crit : > > On Thu, Apr 04, 2024 at 03:38:40PM +0200, Frederic Weisbecker wrote: > > > Le Wed, Mar 27, 2024 at 12:29:02PM +0100, Valentin Schneider a ?crit : > > > > The symbols relating to the CT_STATE part of context_tracking.state are now > > > > all prefixed with CT_STATE. > > > > > > > > The RCU dynticks counter part of that atomic variable still involves > > > > symbols with different prefixes, align them all to be prefixed with > > > > CT_DYNTICKS, as CT_DYNTICKS_MASK already is. > > > > > > > > Signed-off-by: Valentin Schneider > > > > > > It used to be that RCU extended quiescent state and dynticks enter/exit > > > were coupled. But this isn't the case anymore. Nowadays RCU stops watching > > > some time later after dynticks is entered. > > > > I knew that consolidation of atomic operations was too good to last... > > > > > I wonder if we shouldn't take advantage of that cleanup for a meaning that > > > really reflect that RCU stops watching from there. > > > > > > Paul what do you think? CT_EQS_IDX ? CT_RCUEQS_IDX? CT_RCUOFF_IDX? ...? > > > > "After what you just did? You can just RCU off!!!" > > > > Sorry, couldn't resist... > > > > I am having a hard time getting too excited about the name. I could > > suggest CT_RCU_WATCHING_IDX, but that isn't exactly the shortest > > possible name. > > I really like CT_RCU_WATCHING. It says everything. The _IDX isn't even > needed after all. What do you think? Works for me! Thanx, Paul