From: Greg KH <greg@kroah.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org, mathieu.desnoyers@polymtl.ca,
laijs@cn.fujitsu.com, eric.dumazet@gmail.com, patches@linaro.org,
peterz@infradead.org, josh@joshtriplett.org, rostedt@goodmis.org,
stable@kernel.org, dhowells@redhat.com, darren@dvhart.com,
niv@us.ibm.com, tglx@linutronix.de, dipankar@in.ibm.com,
Valdis.Kletnieks@vt.edu, mingo@elte.hu,
akpm@linux-foundation.org
Subject: Re: [stable] [PATCH RFC tip/core/urgent] rcu: Avoid having just-onlined CPU resched itself when RCU is idle
Date: Fri, 19 Aug 2011 11:01:37 -0700 [thread overview]
Message-ID: <20110819180137.GA22040@kroah.com> (raw)
In-Reply-To: <20110819163547.GA5182@linux.vnet.ibm.com>
On Fri, Aug 19, 2011 at 09:35:47AM -0700, Paul E. McKenney wrote:
> CPUs set rdp->qs_pending when coming online to resolve races with
> grace-period start. However, this means that if RCU is idle, the
> just-onlined CPU might needlessly send itself resched IPIs. Adjust the
> online-CPU initialization to avoid this, and also to correctly cause
> the CPU to respond to the current grace period if needed.
>
> This patch is believed to fix or otherwise suppress problems in
> https://bugzilla.redhat.com/show_bug.cgi?id=726877, however, the
> relationship is not apparent to this patch's author. That said, it is
> hard to argue with test results.
>
> This will be available from -rcu as soon as kernel.org's mirrors update:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-2.6-rcu.git rcu/urgent
>
> Reported-by: Nicolas Mailhot <nicolas.mailhot@laposte.net>
> Reported-by: Michal Jaegermann <michal@harddata.com>
> Reported-by: Josh Boyer <jwboyer@redhat.com>
> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
> Tested-by: Josh Boyer <jwboyer@redhat.com>
>
> rcutree.c | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read Documentation/stable_kernel_rules.txt
for how to do this properly.
</formletter>
prev parent reply other threads:[~2011-08-19 18:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 16:35 [PATCH RFC tip/core/urgent] rcu: Avoid having just-onlined CPU resched itself when RCU is idle Paul E. McKenney
2011-08-19 18:01 ` Greg KH [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=20110819180137.GA22040@kroah.com \
--to=greg@kroah.com \
--cc=Valdis.Kletnieks@vt.edu \
--cc=akpm@linux-foundation.org \
--cc=darren@dvhart.com \
--cc=dhowells@redhat.com \
--cc=dipankar@in.ibm.com \
--cc=eric.dumazet@gmail.com \
--cc=josh@joshtriplett.org \
--cc=laijs@cn.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@polymtl.ca \
--cc=mingo@elte.hu \
--cc=niv@us.ibm.com \
--cc=patches@linaro.org \
--cc=paulmck@linux.vnet.ibm.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=stable@kernel.org \
--cc=tglx@linutronix.de \
/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