Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp15151lqe; Tue, 9 Apr 2024 12:53:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWNnr0mjCbJvpukGKSEGG75SR+epvV5mMBd93QBQAdYG/0PIWg4+Ni6SEzPb0TFrJ6Qdt/zu/7XQ3VMpjuIG0/qPeppy7gvc1gd0DknTw== X-Google-Smtp-Source: AGHT+IG0on3qivBLxfF/LiwEG0oMrFAmlzw8DnUe1GZYxd/j+kPy0Wsq/+p3Ncl0NpbHgPwNCMTf X-Received: by 2002:a05:620a:47a5:b0:78d:63b7:83fc with SMTP id dt37-20020a05620a47a500b0078d63b783fcmr727883qkb.73.1712692389752; Tue, 09 Apr 2024 12:53:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712692389; cv=pass; d=google.com; s=arc-20160816; b=VUXOtHUqpWpyAT6bPXqwFGsclP4lXyKHTFv5f0A2/e5w4DBnGgn82rKbqqlA1ysqkM rrFGdzNMR8U9V2eO7EGzIo5ovQJj+0Tc9lR5mTiwzIp8SYJnQsWkq66stoHBopM8WRmD 6SP/ZSaCsC6ADU8LlNpPTgEx834pCxJkgA/1XQ/A11YjACLmOs6pHfo32+x49O+NRDTu FHVG2kkoXxH3RJJEAsy6xaCfSDcpFG0+2MSTV1C/kadGWpORcPVIFiBTWoTFGjfJHhBE 1wiPYud0koRpbq+1vZEpUPNpS37upWVIt5YQAcPr5vQnoac+vvKDXnmXI3oKMsEbUmTT Bo0Q== 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=vcx/QjSAvDsaOLO16Rofec1qoKprXpvo0x2Jpj+Wuhk=; fh=++TvLIIunXeFddsiQT+evAaY8QhXyOG9A7zbM0Ilm08=; b=Jad/uIFMsHIdS6mhakJQEoOmF2+5FXvHw+N50SDgQjmrcnA0oXJgfU2Gj2VGE2oS2Q 1yJEBv0Hu+B+r4QumVtNEvv9iQy8IXsrKUPGBicd77tTSu1/5ZL0/0qtEhGjrcCSatxE YSa+PDuaDnaHlzHwalV+4cQ891ewXzFqX9vnymqzoBIPH7HnGP+TNTlkU4y37ozdNlvB CEtwzwKWFrr5yLp0BKp9oDRHDEzuPzCpp3IP9lzR3Oz8ZjlDY3GEhgJUhWdA8kAd3Ys9 vjKdxy6czxemX+BtvTSOlr8RrA+w34LgEoSW+iGXQB0YGKPHA83s1wP9DgZRSd33ShVq o5Cg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RpTeG0tB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137562-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137562-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. [147.75.199.223]) by mx.google.com with ESMTPS id dv22-20020a05620a1b9600b0078d53eeb8c0si9011456qkb.621.2024.04.09.12.53.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 12:53:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137562-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RpTeG0tB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137562-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137562-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 778071C231C5 for ; Tue, 9 Apr 2024 19:53:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0ED861581E3; Tue, 9 Apr 2024 19:53:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RpTeG0tB" 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 2EA5C156C44; Tue, 9 Apr 2024 19:53:03 +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=1712692384; cv=none; b=JRWeTvKGsAGpfha37mnXh6mkdHTtfT2b1QhFj10o8YT+aZpprM6+gKSYybDpBBAAk/uO4YBq3gex7Lg0AlvBisI26pF3ohNEAcaywZtfGLCRJKXbNmZshR8K+i0D+hvvNKB+ziq9u6RnA5LMizDggClFr0vPONBsCph7K7MqXfI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712692384; c=relaxed/simple; bh=XW+KtnYyyhPI+nxpRegjNzGJfSwl/U1i3kUtyx5Mep4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KEneJRg8+aK+50nafH/8X3ztDPv5lPFxp7JldIwTQmm8Ix9BrC4P5qoL2kdZsovd+1xvg3NXsHreE2E8TKbkc2uhhvibzZkIiAAUJZUiWjMYpXxJHU6Vd1/owDm1zr/4QUhkRuUSLJ7BDm8zNSff97I5cz4JSsFn8B6rvigg6D0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RpTeG0tB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88D8EC433F1; Tue, 9 Apr 2024 19:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712692383; bh=XW+KtnYyyhPI+nxpRegjNzGJfSwl/U1i3kUtyx5Mep4=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=RpTeG0tBEIJTjuIq17x1R8gEc3WgxT1hNqmB7Zw3BjUyT2D+jENR3b8PajOZ8tlvq LrXaN0jRa4SWOhD7p5KWg5dFsuuDISROV6FSB8h2YtNG9D7foEXzGQS7YMP+efnKHV d0gY80uakOeyivvOuh8gn/6hzrdoIln1QPoMOz5clJuE60IqajEMI7xSqclQJIe02X isoNQS3iHjizmwUQyjNT9K9DT+bC6pJMU+dx6mR7cnYHq27h94LXXvMgdW3fpyFxCm eHTuoQWHXQpxJTfrw8kBg1gFDevmYrEua/n0OkDi/BMTe0/0c60nDWv0He3hmf/8s3 74XYijkv+M+MA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 25223CE2D22; Tue, 9 Apr 2024 12:53:03 -0700 (PDT) Date: Tue, 9 Apr 2024 12:53:03 -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: <1ef9d1f9-16a2-4ddc-abd5-6c3b7cde290f@paulmck-laptop> Reply-To: paulmck@kernel.org References: <20240327112902.1184822-1-vschneid@redhat.com> <20240327112902.1184822-3-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: 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. Thanx, Paul