Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3823045ybz; Mon, 4 May 2020 10:20:33 -0700 (PDT) X-Google-Smtp-Source: APiQypLPeghImCM3oeYZFaLu0vH3zS84q4UZ3wzvaU2Zbd5RBm5hDqYRw1RDUcadTNSWNW3vHNo0 X-Received: by 2002:a50:c016:: with SMTP id r22mr15013565edb.388.1588612833262; Mon, 04 May 2020 10:20:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588612833; cv=none; d=google.com; s=arc-20160816; b=j1dRbA1PgoG2rBF2fUXgyJIGxKjpocxADwe09BtVREZn/TuO6y9IIxQl61YlIcRtM1 MXijZF5gZe5EMJedq11fDo8/NZsDVBPSWEC1fqRq5U4hXPbXOpQ6pd5C/Rwfpuu2tY/9 2Lq1Rm2L7HgSvn/N9MYjOI9WL+nsPfzUZsEa3DEsoRigIBmptsp2wWVJbj4/Z2/QhGnu ZlujhMks+sOGwlUSR5h5ILC/To0Yy67fxxldOm4WrLgoCF68oYKjumbtQUWkRfCK0LzA 6FNkjCGY7JADOl74utwvoDnnXMwYsU8xkmKNkiKD1tNDpugWj0IPNNkF2SoYp5E1mOWD ZY3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=2h0Kw1B18u/eaeXVbquWkA9l1yGnyV4Bap4TQPvHAN8=; b=hbs6vciTX35u85Y/8tc68mg1rRryhfs5vn2aT7Rhy8twmmZMl2YcVKO641pMvhUhZI eAanEmZpnr1oFCqyzIFBSc2RT/LO5OyJXHOUcvobJPbz385zdv39bSVk4RL0i522nfti jjm82GxIxq+MmLBr8kVZNKvRtk0fI4yuzfsW0CtNomGSlaveIws/L7D3qL7DvWyu2BvL oxtRfj0Xm5OsFhg0aVLKbp1ZA/2TZ7tc7lGFU24WCkR0TN8aWaYCbFtnexRm+58WyrGu Mdm+5hLSJs6Wwcfhu0INiYyVV+qxmwUpXfjB4BaMyUzqBewuXm6K/i+h6AuAS+r0eWwU tq7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CJFE86LL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g7si7738254ejc.469.2020.05.04.10.20.10; Mon, 04 May 2020 10:20:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CJFE86LL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730516AbgEDRRc (ORCPT + 99 others); Mon, 4 May 2020 13:17:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:49570 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730638AbgEDRPd (ORCPT ); Mon, 4 May 2020 13:15:33 -0400 Received: from paulmck-ThinkPad-P72.home (50-39-105-78.bvtn.or.frontiernet.net [50.39.105.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F1C1324955; Mon, 4 May 2020 17:15:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588612533; bh=9pXUHvRwCWJxoSP3RKEJ7NWKpIC6W7C2MfnDvVAMReo=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=CJFE86LLo7HrZ/Cb8xgKQLYO4YB6+uxFw3PLO7THErV6hbMP4gn9tINu67rI1fTLl VOpoSXaWKyH6e/fHrATcWAs0SmcB/RDoNwuV90mYb/8KXq54gxVpvj8585lqyaE6UP R/gPOj1XwCVznv4jF02ZtGd2ToYXyvONG2+nHmPI= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id B512735226F4; Mon, 4 May 2020 10:15:32 -0700 (PDT) Date: Mon, 4 May 2020 10:15:32 -0700 From: "Paul E. McKenney" To: "Joel Fernandes (Google)" Cc: linux-kernel@vger.kernel.org, Andy Lutomirski , Frederic Weisbecker , frextrite@gmail.com, Ingo Molnar , Josh Triplett , kernel-team@android.com, Lai Jiangshan , madhuparnabhowmik04@gmail.com, Mathieu Desnoyers , peterz@infradead.org, Petr Mladek , rcu@vger.kernel.org, rostedt@goodmis.org, tglx@linutronix.de, vpillai@digitalocean.com Subject: Re: [PATCH v3 0/5] RCU dyntick nesting counter cleanups for rcu -dev Message-ID: <20200504171532.GR2869@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200504120505.89351-1-joel@joelfernandes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200504120505.89351-1-joel@joelfernandes.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 04, 2020 at 08:05:00AM -0400, Joel Fernandes (Google) wrote: > These patches clean up the usage of dynticks nesting counters simplifying the > code, while preserving the usecases. > > It is a much needed simplification, makes the code less confusing, and prevents > future bugs such as those that arise from forgetting that the > dynticks_nmi_nesting counter is not a simple counter and can be "crowbarred" in > common situations. > > rcutorture testing with all TREE RCU configurations succeed with > CONFIG_RCU_EQS_DEBUG=y and CONFIG_PROVE_LOCKING=y. > > v1->v2: > - Rebase on v5.6-rc6 > > v2->v3: > - Rebase on rcu/dev with adjustments for tasks-RCU. Thank you! But this does not apply to any of v5.6-rc6, v5.7-rc1, or v5.7-rc2. Where should I be trying to apply it? Thanx, Paul > Joel Fernandes (Google) (4): > Revert b8c17e6664c4 ("rcu: Maintain special bits at bottom of > ->dynticks counter") > rcu/tree: Add better tracing for dyntick-idle > rcu/tree: Clean up dynticks counter usage > rcu/tree: Remove dynticks_nmi_nesting counter > > Madhuparna Bhowmik (1): > trace: events: rcu: Change description of rcu_dyntick trace event > > .../Data-Structures/Data-Structures.rst | 31 +-- > Documentation/RCU/stallwarn.rst | 6 +- > include/linux/rcutiny.h | 3 - > include/trace/events/rcu.h | 29 +-- > kernel/rcu/rcu.h | 4 - > kernel/rcu/tree.c | 199 +++++++----------- > kernel/rcu/tree.h | 4 +- > kernel/rcu/tree_stall.h | 4 +- > 8 files changed, 110 insertions(+), 170 deletions(-) > > -- > 2.26.2.526.g744177e7f7-goog >