public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: mingo@elte.hu
Cc: torvalds@linux-foundation.org, kernelmail.jms@gmail.com,
	kulkarni.ravi4@gmail.com, konrad.wilk@oracle.com,
	linux-kernel@vger.kernel.org, peterz@infradead.org
Subject: [GIT PULL rcu/urgent] Prevent RCU callbacks from executing during early boot
Date: Wed, 13 Jul 2011 08:46:38 -0700	[thread overview]
Message-ID: <20110713154638.GA5136@linux.vnet.ibm.com> (raw)

Hello, Ingo,

This pull request is an update from https://lkml.org/lkml/2011/7/11/248.
It fixes a rare but real boot-time hang that is caused by RCU callbacks
being registered during early boot whose callback functions depend on
the scheduler being fully initialized.  This commit therefore defers
callback invocation until after the scheduler has spawned the first task.
In contrast, the earlier patch deferred only until the scheduler was
ready to spawn the first task, in particular, before the init task had
first entered schedule().  The former pull request fixed Ravi's hang,
but not Julie's.  This pull request addresses both hangs.

There was another hang from Konrad, but this hang turned out to be
unrelated.  Konrad's hang has been solved:  It was fixed by a patch from
Peter (https://lkml.org/lkml/2011/7/12/150).

I have Tested-by responses from all three (Julie, Ravi, and Konrad).

This commit is available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-2.6-rcu.git rcu/urgent

I believe that this commit (and Peter's patch, for that matter) should
be included in v3.0.

							Thanx, Paul

------------------->
Paul E. McKenney (1):
      rcu: Prevent RCU callbacks from executing before scheduler initialized

 kernel/rcutree.c        |   26 +++++++++++++++++++++++++-
 kernel/rcutree_plugin.h |   15 +++++++++++----
 2 files changed, 36 insertions(+), 5 deletions(-)

             reply	other threads:[~2011-07-13 15:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 15:46 Paul E. McKenney [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-11 16:35 [GIT PULL rcu/urgent] Prevent RCU callbacks from executing during early boot Paul E. McKenney

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=20110713154638.GA5136@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=kernelmail.jms@gmail.com \
    --cc=konrad.wilk@oracle.com \
    --cc=kulkarni.ravi4@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=peterz@infradead.org \
    --cc=torvalds@linux-foundation.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