From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cpu/hotplug: get rid of CPU_STARTING reference
Date: Wed, 17 Aug 2016 07:22:11 -0700 [thread overview]
Message-ID: <20160817142211.GB3482@linux.vnet.ibm.com> (raw)
In-Reply-To: <20160817122103.5exomri3lxlcuydr@linutronix.de>
On Wed, Aug 17, 2016 at 02:21:04PM +0200, Sebastian Andrzej Siewior wrote:
> CPU_STARTING is scheduled for removal. There is no use of it in drivers
> and just compatibility use core code. This patch removes it from an RCU
> related comment.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Queued, thank you!
Thanx, Paul
> ---
>
> Paul, this "CPU_STARTING" refrences got in via "rcu: Exact CPU-online
> tracking for RCU".
>
> kernel/cpu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/cpu.c b/kernel/cpu.c
> index 35b53a1f56a7..3788ad9d4073 100644
> --- a/kernel/cpu.c
> +++ b/kernel/cpu.c
> @@ -897,7 +897,7 @@ void notify_cpu_starting(unsigned int cpu)
> struct cpuhp_cpu_state *st = per_cpu_ptr(&cpuhp_state, cpu);
> enum cpuhp_state target = min((int)st->target, CPUHP_AP_ONLINE);
>
> - rcu_cpu_starting(cpu); /* All CPU_STARTING notifiers can use RCU. */
> + rcu_cpu_starting(cpu); /* Enables RCU usage on this CPU. */
> while (st->state < target) {
> struct cpuhp_step *step;
>
> --
> 2.9.3
>
prev parent reply other threads:[~2016-08-17 14:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-17 12:21 [PATCH] cpu/hotplug: get rid of CPU_STARTING reference Sebastian Andrzej Siewior
2016-08-17 14:22 ` 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=20160817142211.GB3482@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=bigeasy@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
/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