All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL rcu/urgent] Prevent RCU callbacks from executing during early boot
@ 2011-07-11 16:35 Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2011-07-11 16:35 UTC (permalink / raw)
  To: mingo; +Cc: torvalds, kernelmail.jms, kulkarni.ravi4, linux-kernel

Hello, Ingo,

This pull request fixes a rare but real boot-time hang.  It defers RCU
callback execution until the scheduler has initialized, permitting
RCU callbacks that use late-initialized kernel features to be used in
RCU callbacks that are registered during early boot.  This fixes the
bugzilla at: https://bugzilla.kernel.org/show_bug.cgi?id=38732

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

							Thanx, Paul

------------------->

Paul E. McKenney (1):
      rcu: Prevent RCU callbacks from executing during early boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [GIT PULL rcu/urgent] Prevent RCU callbacks from executing during early boot
@ 2011-07-13 15:46 Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2011-07-13 15:46 UTC (permalink / raw)
  To: mingo
  Cc: torvalds, kernelmail.jms, kulkarni.ravi4, konrad.wilk,
	linux-kernel, peterz

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(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-13 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-11 16:35 [GIT PULL rcu/urgent] Prevent RCU callbacks from executing during early boot Paul E. McKenney
2011-07-13 15:46 Paul E. McKenney

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.