lkml.org 
[lkml]   [2009]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@gmail.com>
> Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
> Cc: Rusty Russell <rusty@rustcorp.com.au>

Yep, it's exactly the same what I had as well:

http://lkml.org/lkml/2009/1/7/67

Thanks ;)


\
 
 \ /
  Last update: 2009-01-07 17:05    [W:0.031 / U:1.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site