public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: "Liu, Changcheng" <changcheng.liu@intel.com>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rcu: remove redundant nxttail index marco define
Date: Tue, 16 Jan 2018 07:31:39 -0800	[thread overview]
Message-ID: <20180116153139.GV9671@linux.vnet.ibm.com> (raw)
In-Reply-To: <20180116090514.GA5706@sofia>

On Tue, Jan 16, 2018 at 05:05:14PM +0800, Liu, Changcheng wrote:
> rcu nxttail has been optimized to be rcu_segcblist.
> The index has been defined in linux/rcu_segcblist.h
> 
> Signed-off-by: Liu Changcheng <changcheng.liu@intel.com>

Good eyes!  Applied for testing and review.

							Thanx, Paul

> diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h
> index 46a5d19..78cb5f3 100644
> --- a/kernel/rcu/tree.h
> +++ b/kernel/rcu/tree.h
> @@ -185,13 +185,6 @@ union rcu_noqs {
>  	u16 s; /* Set of bits, aggregate OR here. */
>  };
> 
> -/* Index values for nxttail array in struct rcu_data. */
> -#define RCU_DONE_TAIL		0	/* Also RCU_WAIT head. */
> -#define RCU_WAIT_TAIL		1	/* Also RCU_NEXT_READY head. */
> -#define RCU_NEXT_READY_TAIL	2	/* Also RCU_NEXT head. */
> -#define RCU_NEXT_TAIL		3
> -#define RCU_NEXT_SIZE		4
> -
>  /* Per-CPU data for read-copy update. */
>  struct rcu_data {
>  	/* 1) quiescent-state and grace-period handling : */
> -- 
> 2.7.4
> 

      reply	other threads:[~2018-01-16 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16  9:05 [PATCH] rcu: remove redundant nxttail index marco define Liu, Changcheng
2018-01-16 15:31 ` Paul E. McKenney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180116153139.GV9671@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=changcheng.liu@intel.com \
    --cc=jiangshanlai@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox