[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAVPGOPEjBVgv=oxJr1nptiFT8fGtED7qHicz7zaY8LUbiVi_w@mail.gmail.com>
Date: Tue, 12 Jul 2011 22:35:58 +0100
From: Julie Sullivan <kernelmail.jms@...il.com>
To: paulmck@...ux.vnet.ibm.com
Cc: linux-kernel-mail <linux-kernel@...r.kernel.org>
Subject: Re: PROBLEM: 3.0-rc kernels unbootable since -rc3
>>
>> OK tested- jms.2011.07.11a fails. The other one's fine (I'm actually
>> running an -rc6 with its patches right now :-)
>
> Just to make sure I understand what patch you are using... Is it the
> one that I have listed below? It would be bad form for me to send the
> wrong patch upstream. ;-)
Yep, that's the one :-)
>
> If this is the correct one, then the upstreamable patch I sent recently
> (https://lkml.org/lkml/2011/7/12/313) should also work. Famous last
> words...
>
Just compiling that one now....
> Thanx, Paul
>
> ------------------------------------------------------------------------
>
> rcu: prevent RCU callbacks from being invoked during early boot.
>
> Signed-off-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
>
> diff --git a/kernel/rcutree.c b/kernel/rcutree.c
> index dbe4120..4456395 100644
> --- a/kernel/rcutree.c
> +++ b/kernel/rcutree.c
> @@ -1476,7 +1476,7 @@ static void rcu_process_callbacks(struct softirq_action *unused)
> */
> static void invoke_rcu_callbacks(struct rcu_state *rsp, struct rcu_data *rdp)
> {
> - if (likely(!rsp->boost)) {
> + if (likely(rcu_kthreads_spawnable && !rsp->boost)) {
> rcu_do_batch(rsp, rdp);
> return;
> }
>
--
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