Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp39002lqp; Thu, 4 Apr 2024 06:39:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV49jZzqoQz5BbvBBZ/JQHG9fjVva6eRHtAjs3ZRYAUwY35ehFw74A2cami7Zcb4RJkqXx54kNzv6LgqwI8T/RuotyT5Q9nz3us79X2dA== X-Google-Smtp-Source: AGHT+IFGIzHIxKv4rc9fOFI3CcMQcUB15WhkNi7dYHFZw+WPNkcGGJa/SGhWSyI2PPsE2NEtB9ES X-Received: by 2002:a50:d4d4:0:b0:56b:defb:3b59 with SMTP id e20-20020a50d4d4000000b0056bdefb3b59mr1522150edj.19.1712237984182; Thu, 04 Apr 2024 06:39:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712237984; cv=pass; d=google.com; s=arc-20160816; b=jEH0YPuFqGL9/mFpGRJ13izl71asffiQNqzNtSyNMvnUtT1n8UmDq2v7UQHrrLBFHU 8OR4Z1M9CtVAsQlrFbP4n/RcDu8eqLcf3Tq49vmXiEmxb0pEGjzRuZYG67XDNNZf0LWJ j3eggDoZ+W45reMJqHOQmrwcsgl0HlS1cRu9TUfnbB75mEo7dLNVbQYuPBCmnkxPY026 nhdEFIj2aJU0CIK8yjHp2Xrvsdz8H0BNWzbkKW3zxv+pt4bBt3fJ0HLNmhy+BIAJBArZ OffAm0sVpERG2UdQyaCNy0znXDNqnxvtU0AlTc0GBcNzKt5PefH0/LgjhXyivpeL0wln s7FQ== 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=tK+2gV9srGt90DR1jtr90MYYXfB0+FURfvPA8hz9K3s=; fh=EXeh0QXD8yIO7zRa1z9rYWjTgJJfRYmA7W9VW6WYneg=; b=XR6/WIZMY78QKjF3ocJR5UyT/4DhL4eoejzQVbJCf9k3Fdc6wQpO4R3DS2ZsQgbrq7 QTVZTFEN7dm+fehQpPnt1U24HGGMhw+cQj8RQWK/DE/ZmDx/5eiBRNhScbkvt1Qrj24E KBUcLBdSL07cyvsB8xPS8KjFCBtD7FkGRobAnm7aG3Ve3/8HK/hlG5f3bMgjbKurPZWh UEaMx9vC1mbQXvfyB5FdK6UtZGoyCxtG9qZZeL8Z7spnJW4jkNxwlpKOIwvQjS98rGfs LrPqwhEZEKlBXY/2NgQkGf0wbqbtpWks55XeJoDenM/frFkJh14LDvFTfktgB9E2xojh iBlQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tZnIQx02; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-131516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131516-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id m7-20020a50d7c7000000b00568b5d11acesi7754248edj.82.2024.04.04.06.39.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 06:39:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tZnIQx02; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-131516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131516-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 213671F2A83F for ; Thu, 4 Apr 2024 13:38:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4777D128376; Thu, 4 Apr 2024 13:38:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tZnIQx02" 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 6CBF91272BB; Thu, 4 Apr 2024 13:38:43 +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=1712237923; cv=none; b=VL4awlCoXmIhuIPJkaOMIM5sFNAfEweXYmpqmZiuYBy0xTVHxgPPSYnr2wpqnozDkz/1yFj2KaVQT13IV58YHy8I15Cu/NLqkkG2cO2NNIY3HGaBikRzSu+b9Y5nFiLNl1d1TECfN3r8KWxdiDcarI5SFo5+vYekI1ndCOKDhfI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712237923; c=relaxed/simple; bh=Ytk+RYNnGOzswIfj2b5w7iQj6urpyLQzMSAFPdEwAfs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RHQRt95NaSDm0EZBvAtgHo1Q7EU9SfHg7KeaGrGUWXXOum8cTfHCK1SKt9GW8PcZpqMiw+pM0wfY9o4QvXgA+iMBzix3lnezKn39R5jYMBzxK4al17O0HOaUPHfsuhx8EI2TeY/9oLwxa10nrl74dDKAgYEQdi3IghVvKebApzs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tZnIQx02; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE308C433F1; Thu, 4 Apr 2024 13:38:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712237923; bh=Ytk+RYNnGOzswIfj2b5w7iQj6urpyLQzMSAFPdEwAfs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tZnIQx02l4JDzme/JJPv3tMLIR5sot8N7vN2W3GzHp6bJs4aQAinpCR4YTZgCuDfe 83qMi0HLp4xB90u+hHFyWLaaGr51cctA+uHzZW+sgMuM+UwM6zcHymzPFvCO98Vcbl CXKydJtRl3kP+P87AVz1wcIm/BFBJ5sNYLMFksvZ1oIVGAHC6lOoKIhlO84tVUCYww nzgyy4t+tsWmovha0Ewp6tZ/7CXdR7M1p+wp82/BDI1LtPSWz7AlPZEBuUe8BFyXc/ kEhdRNCT/55G0WhqhIZXuajUdC9TegXAfvdTKRwnsnlbPdh1t6BZuWN5zeKviMo3XW XWeewjnZ/Z1mA== Date: Thu, 4 Apr 2024 15:38:40 +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 2/2] context_tracking, rcu: Rename RCU_DYNTICKS_IDX to CT_DYNTICKS_IDX Message-ID: 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: <20240327112902.1184822-3-vschneid@redhat.com> 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 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? ...? Thanks.