Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2050652pxj; Wed, 19 May 2021 21:56:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8xgYc5ALGY+jtmIgyggFOLQ3G51dmw0DjFLd4seykCFCxIeUxC+RchXf/XiwZkRqJRn4u X-Received: by 2002:a05:6402:416:: with SMTP id q22mr2959257edv.204.1621486578921; Wed, 19 May 2021 21:56:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621486578; cv=none; d=google.com; s=arc-20160816; b=DL6CPDY+pvtwBkeA+9M/Km3UMtrU0Fyj8uPShrm4zRna28rbbHpxkgd5MYzMq3Enav dX8lBRkT35sv3CmkYxMWxWbgWUGyzL0cz7BnU6qjz7FFUn8Q4zBaKgNkAX8adogK4WGw yrakrSLoXpNqLnkri+z5zMxoNT0xWPq8KsnvaaSWFpf1e+p3gJpRZL1RpFeCp2J/OQHT p7oqqZ7PuxJzG81CKzMSV6jk2ukon3dsksoIg4vPArO1jFZcmTHuwR8j+ZARdi1VPfhB +ZXqeIMw5wge4gY4hnxbxBdBejFadqsu1Yrsw5Q3NYqvKocD9XpkIWv1NxnUh9rcCeQn +n1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=KEDpC7cX8K5IHGS4+wmSFpPxHEBsmWnVb8PQDfc1MWU=; b=AoPqM76qhMAPYjuU4u8j5lUrPEgnNgwzHJlgmNzmoCwCARZpAwayhUrQq83MuGS7lu NkvDEjOaW+KTmCpTzNKE4L5EH78eeolzjuiEHXbqkXisDVWa1K7PS7Ib9+0Gbw1OeRKo /cp5QgWUK9EkKsnu3CfD2P7o4pxYeOwDb8pkOOYlSdF9/xjkF22hfi1yloYRekm4nnuL rRXGvQ9ksd/Cfd46moRD0GJU9DT0DDUMbYT1NIfj7wQk4LecMnuTLgLg1sUxb/Ek+4VM w8ZWoA3enb5xo0rYkLtaCnftg3jW8E42sbfHEaicWxVb3K4w7f7UWssklJRdOc46maOl prBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eL6jnNSZ; 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 t12si1475030edc.179.2021.05.19.21.55.55; Wed, 19 May 2021 21:56:18 -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=k20201202 header.b=eL6jnNSZ; 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 S230207AbhETEz6 (ORCPT + 99 others); Thu, 20 May 2021 00:55:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:55964 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbhETEz5 (ORCPT ); Thu, 20 May 2021 00:55:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EAE36611AE; Thu, 20 May 2021 04:54:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621486477; bh=tICblB9mQvGI4hN9nbNzzLVdfmdbVNWvAYGuEq4XSTI=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=eL6jnNSZTzTv4LtahS/Q6sFQ8fupm904Xunci9IYUbHG4ek9FUNttoWMsNwuSPEvf XJGaCYk61cujtohJ982LVFd9vIZJATR0f3B0RoDd50TN71phVuOvRI6pElbq83eFd7 isOim5xGmti1Hhg0Ys3OVZZnBq4nuwrbTcw8cUYmuHgIfc5IYZFXZ+BaGv0sj9pzRu 0+OoYNsykrEW19yBPSz9FgqDtYolxeiSTof5bLRsFdxZbWXGJOm9FfvwBm9uk0sCPY LtRRZNbsDylCV2mEL7mDlbK1BrH+UoVVaRMKVhcvqSSN0bUuOG2pACAUoJAeTv/aKY sxySCvBvuaKQQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id BE1695C0138; Wed, 19 May 2021 21:54:36 -0700 (PDT) Date: Wed, 19 May 2021 21:54:36 -0700 From: "Paul E. McKenney" To: Frederic Weisbecker Cc: LKML , rcu@vger.kernel.org Subject: Re: [PATCH 1/3] rcu/nocb: Start moving nocb code to its own plugin file Message-ID: <20210520045436.GG4441@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20210519000930.15702-1-frederic@kernel.org> <20210519000930.15702-2-frederic@kernel.org> <20210519155508.GX4441@paulmck-ThinkPad-P17-Gen-1> <20210520010254.GC22836@lothringen> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210520010254.GC22836@lothringen> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 20, 2021 at 03:02:54AM +0200, Frederic Weisbecker wrote: > On Wed, May 19, 2021 at 08:55:08AM -0700, Paul E. McKenney wrote: > > On Wed, May 19, 2021 at 02:09:28AM +0200, Frederic Weisbecker wrote: > > > tree_plugin.h is now gathering not only the (no)preempt-rcu specifics > > > but also other features like NO_CB. As the latter has grown quite in > > > complexity and volume, it's may be a good idea to start moving the > > > related code to its own file so we don't need to browse thousand lines > > > to find what we need. > > > > > > Suggested-by: Paul E. McKenney > > > Signed-off-by: Frederic Weisbecker > > > > Applied with the usual wordsmithing, thank you! > > > > But for consistency with the other similar files included by > > kernel/rcu/tree.c, should the name instead be kernel/rcu/tree_nocb.h? > > Ah yes, I hesitated but tree_nocb.h is indeed more consistent. Can I let > you do the rename? Done! > > Also, if Ingo and I are one the author list, shouldn't you be as well? ;-) > > Heh, alright feel free to add the following as a fixup :-) And again, done. Or will be at the next rebase, anyway. Thanx, Paul > diff --git a/kernel/rcu/nocb.h b/kernel/rcu/nocb.h > index a7783923833e..bf2690ca5d2b 100644 > --- a/kernel/rcu/nocb.h > +++ b/kernel/rcu/nocb.h > @@ -6,9 +6,11 @@ > * > * Copyright Red Hat, 2009 > * Copyright IBM Corporation, 2009 > + * Copyright SUSE, 2021 > * > * Author: Ingo Molnar > * Paul E. McKenney > + * Frederic Weisbecker > */ > > #ifdef CONFIG_RCU_NOCB_CPU > > > Or perhaps you prefer a separate patch? > > Thanks!