Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp80368imm; Thu, 30 Aug 2018 08:46:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYCzxuRsvlpTHz0hJBh+5ZUKAKS7CMRUjruPLNxpdcDpIqpcyQOnd2+BPie/nINn76xjP+n X-Received: by 2002:a17:902:7587:: with SMTP id j7-v6mr10890460pll.256.1535643997386; Thu, 30 Aug 2018 08:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535643997; cv=none; d=google.com; s=arc-20160816; b=pklXu/brIS4CsQNiIVv1s3QdGffqmny97X8BTIAGdb1JP94IvtTqfvd+bkKCBjg9e4 1A+LQ1O3es9OqnrjnISKUzvzT+J8aAZ6VgIJJpQYMgl1IqWI9ynMkSKFOw5lanGx9pIo w7Kewaa7PpgjeLCdS2o1QbwyeI7Bb4DGkf7bWXz6rsIM+eYSeVO6ixlhOfkupKdai+5v 8YWL5T66JhIEY730QxBM4+vP9S7sYdonLAuBZL09KsD1k0TAOfSiuaFEaaT6i3NCNAol YEY6MF9D1G0yMALnoap59RSrQa9T1uCMO9Y2EtUZbZcvxHdJFLY749/Z3iHAc6Au7sTq CjdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=mm4FTJ752bTpG5Y42qhAt5LYt7y2kNhjU4IczqOVM4I=; b=nZHWgA732wLQUGLFFraFyI47O6pj+NBtbyFItwNfEIvLrvHa4i4uuwTWs5miJpUaoT bNHaQ5ljqnbpFA9mGw7Z9IbVRCZ+l423HH5GkOUvGjmwmr7Yr/oeLvUYxbk8t4oSbXDD BxaIeMe5rs/rUd+8Km7k3ft0DesHHoKRk1O7VPiEJavRNHIRTVsTpXzw3+OsXy7BBrP+ vQsrQ1I1yFBGS+GOi+tvB1XVd/rpytYXn2PyStHGh0FvXiRUnWGiWlDeXH8pxWN9wOnB yGU2ExyozS0fkIPNpQhAmLDCGMvXwWZPNJRRP2H94AiAYRg1KqA7hRxubP7Cuatbb0Nh /RoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 199-v6si6308375pgg.366.2018.08.30.08.46.22; Thu, 30 Aug 2018 08:46:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727301AbeH3Trl (ORCPT + 99 others); Thu, 30 Aug 2018 15:47:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:33906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726727AbeH3Trl (ORCPT ); Thu, 30 Aug 2018 15:47:41 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.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 07F6E20834; Thu, 30 Aug 2018 15:44:53 +0000 (UTC) Date: Thu, 30 Aug 2018 11:44:52 -0400 From: Steven Rostedt To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org Subject: Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0 Message-ID: <20180830114452.309e104f@gandalf.local.home> In-Reply-To: <20180830041017.GA27378@linux.vnet.ibm.com> References: <20180829223830.GA1800@linux.vnet.ibm.com> <20180829220026.3579e9a1@vmware.local.home> <20180830032216.GF4225@linux.vnet.ibm.com> <20180830041017.GA27378@linux.vnet.ibm.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 29 Aug 2018 21:10:17 -0700 "Paul E. McKenney" wrote: > On Wed, Aug 29, 2018 at 08:22:16PM -0700, Paul E. McKenney wrote: > > On Wed, Aug 29, 2018 at 10:00:26PM -0400, Steven Rostedt wrote: > > > On Wed, 29 Aug 2018 15:38:30 -0700 > > > "Paul E. McKenney" wrote: > > > > > > > Hello! > > > > > > > > This commit does RCU-consolidation cleanups that get rid of pointers to > > > > the sole remaining rcu_state structure: > > > > > > > > 1-40: Remove the "rsp" parameter from numerous functions, given that > > > > the corresponding argument will always be &rcu_state. > > > > > > Hmm, couldn't 1-40 have been made into a single patch? > > > > They could. I separated them to make finding the inevitable typos easier. > > But at this point, it is easy enough to squash them together, though. > > And please see below for what the resulting diff would look like. Is > this an improvement? Somewhat... > > Thanx, Paul > > ------------------------------------------------------------------------ > > diff --git a/Documentation/RCU/Design/Data-Structures/Data-Structures.html b/Documentation/RCU/Design/Data-Structures/Data-Structures.html > index f5120a00f511..772c26a3865a 100644 > --- a/Documentation/RCU/Design/Data-Structures/Data-Structures.html > +++ b/Documentation/RCU/Design/Data-Structures/Data-Structures.html I would just keep the documentation patches separate. -- Steve > @@ -1372,8 +1372,7 @@ that is, if the CPU is currently idle. > Accessor Functions > >

The following listing shows the > -rcu_get_root(), rcu_for_each_node_breadth_first, > -rcu_for_each_nonleaf_node_breadth_first(), and > +rcu_get_root(), rcu_for_each_node_breadth_first and > rcu_for_each_leaf_node() function and macros: > >