[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080228210140.37abe9cd.akpm@linux-foundation.org>
Date: Thu, 28 Feb 2008 21:01:40 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: paulmck@...ux.vnet.ibm.com
Cc: Steven Rostedt <rostedt@...dmis.org>,
LKML <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
john stultz <johnstul@...ibm.com>, jarkao2@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] fix boot-time hangs from PREEMPT_RCU and NO_HZ
On Thu, 28 Feb 2008 20:43:29 -0800 "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com> wrote:
> This is a repost of http://lkml.org/lkml/2008/2/2/11. 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists