From: "Paul E. McKenney" <paulmck@linux.ibm.com>
To: Peng Hao <peng.hao2@zte.com.cn>
Cc: josh@joshtriplett.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rcu: Remove rcu_*_state declaration
Date: Wed, 9 Jan 2019 05:52:48 -0800 [thread overview]
Message-ID: <20190109135247.GX1215@linux.ibm.com> (raw)
In-Reply-To: <1547043208-11941-1-git-send-email-peng.hao2@zte.com.cn>
On Wed, Jan 09, 2019 at 10:13:28PM +0800, Peng Hao wrote:
> Because of just only one set of rcu_state, the declaration of
> rcu_sched_state/rcu_bh_state/rcu_preempt_state is unnecessary.
>
> Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
This does not apply to my current -rcu tree. Please see branch "dev"
of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git.
Thanx, Paul
> ---
> kernel/rcu/tree.h | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h
> index 703e19f..9ea704c 100644
> --- a/kernel/rcu/tree.h
> +++ b/kernel/rcu/tree.h
> @@ -401,13 +401,6 @@ struct rcu_state {
> /*
> * RCU implementation internal declarations:
> */
> -extern struct rcu_state rcu_sched_state;
> -
> -extern struct rcu_state rcu_bh_state;
> -
> -#ifdef CONFIG_PREEMPT_RCU
> -extern struct rcu_state rcu_preempt_state;
> -#endif /* #ifdef CONFIG_PREEMPT_RCU */
>
> int rcu_dynticks_snap(struct rcu_data *rdp);
>
> --
> 1.8.3.1
>
prev parent reply other threads:[~2019-01-09 13:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-09 14:13 [PATCH] rcu: Remove rcu_*_state declaration Peng Hao
2019-01-09 13:52 ` 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=20190109135247.GX1215@linux.ibm.com \
--to=paulmck@linux.ibm.com \
--cc=josh@joshtriplett.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.hao2@zte.com.cn \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.