[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090107160039.GB25560@osiris.boeblingen.de.ibm.com>
Date: Wed, 7 Jan 2009 17:00:39 +0100
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: Jiri Slaby <jirislaby@...il.com>
Cc: Rusty Russell <rusty@...tcorp.com.au>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] cpu: create stop machine in disable_nonboot_cpus
On Wed, Jan 07, 2009 at 04:39:15PM +0100, Jiri Slaby wrote:
> Commit
> 772cd49cfa4002439b16dd6b553a11771ac096fd
> (stop_machine: introduce stop_machine_create/destroy.)
> introduced stop_machine_create/destroy, but omitted to call them from
> disable_nonboot_cpus (it's called only from cpu_down).
>
> Create and destroy the stop machine even in disable_nonboot_cpus
> (which calls _cpu_down too) to avoid NULL-pointer dereference oops on
> suspend.
>
> Signed-off-by: Jiri Slaby <jirislaby@...il.com>
> Cc: Heiko Carstens <heiko.carstens@...ibm.com>
> Cc: Rusty Russell <rusty@...tcorp.com.au>
Yep, it's exactly the same what I had as well:
http://lkml.org/lkml/2009/1/7/67
Thanks ;)
--
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