LKML Archive on
help / color / mirror / Atom feed
From: Andrew Morton <>
Cc: Steven Rostedt <>,
	LKML <>,
	Linus Torvalds <>,
	Ingo Molnar <>, Thomas Gleixner <>,
	john stultz <>,,
Subject: Re: [PATCH] fix boot-time hangs from PREEMPT_RCU and NO_HZ
Date: Thu, 28 Feb 2008 21:01:40 -0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Thu, 28 Feb 2008 20:43:29 -0800 "Paul E. McKenney" <> wrote:

> This is a repost of  It is needed in
> 2.6.25 in order to prevent boot-time hangs when running with PREEMPT_RCU
> and NO_HZ.
> Preemptible RCU can get stuck if a CPU goes idle and NO_HZ is set. The
> idle CPU will not progress the RCU through its grace period, so that
> any subsequent synchronize_rcu() invocations can hang until such time
> as a process starts running on the idle CPU.  If no such process runs,
> subsequent synchronize_rcu() invocations will hang indefinitely, in turn
> hanging the system.  Without this patch, one of Steve Rostedt's boxes
> hangs on boot when PREEMPT_RCU and NO_HZ are set. That same box boots
> fine with this patch.
> Note: This patch came directly from the -rt patch where it has been tested
> for several months.
> Andrew, could you please apply this?

I already have it, via git-sched.  Presumably Ingo has it lined up for the
next sched-related merge.

  reply	other threads:[~2008-02-29  5:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29 16:18 [PATCH] add support for dynamic ticks and preempt rcu Steven Rostedt
2008-01-30  5:21 ` Paul E. McKenney
2008-02-29  4:43 ` [PATCH] fix boot-time hangs from PREEMPT_RCU and NO_HZ Paul E. McKenney
2008-02-29  5:01   ` Andrew Morton [this message]
2008-02-29 15:48     ` Ingo Molnar
2008-02-29 16:55       ` Paul E. McKenney
2008-02-29 16:57         ` Ingo Molnar
2008-02-29 17:08           ` Steven Rostedt

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] fix boot-time hangs from PREEMPT_RCU and NO_HZ' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).