lkml.org 
[lkml]   [2009]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] mm/init: cpu_hotplug_init() must be initialized before SLAB
    From
    Date
    On Tue, 2009-06-23 at 10:31 +1000, Benjamin Herrenschmidt wrote:
    > SLAB uses get/put_online_cpus() which use a mutex which is itself
    > only initialized when cpu_hotplug_init() is called. Currently
    > we hang suring boot in SLAB due to doing that too late. This
    > moves the call to cpu_hotplug_init() to before mm_init() (it
    > should be safe to call that early).
    >
    > This fixes boot with SLAB on some PowerPC machines.
    >
    > Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    > ---
    >
    > Sachin, James, do that fix the boot failures you've been seeing ?

    Yes, that seems to fix it for me.

    James




    \
     
     \ /
      Last update: 2009-06-23 03:19    [W:0.023 / U:30.136 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site