lkml.org 
[lkml]   [2011]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: early kernel crash when kmemleak is enabled
    From
    Date
    On Thu, 2011-05-19 at 14:54 +0100, Tejun Heo wrote:
    > On Thu, May 19, 2011 at 02:48:44PM +0100, Catalin Marinas wrote:
    > > Thanks for tracking this down. Untested (I can add a log afterwards):
    > >
    > > diff --git a/init/main.c b/init/main.c
    > > index 4a9479e..48df882 100644
    > > --- a/init/main.c
    > > +++ b/init/main.c
    > > @@ -580,8 +580,8 @@ asmlinkage void __init start_kernel(void)
    > > #endif
    > > page_cgroup_init();
    > > enable_debug_pagealloc();
    > > - kmemleak_init();
    > > debug_objects_mem_init();
    > > + kmemleak_init();
    > > setup_per_cpu_pageset();
    > > numa_policy_init();
    > > if (late_time_init)
    >
    > Heh, that was swift. Yeap, seems to work here. Please feel free to
    > add my Tested-by.

    Thanks. I have two other minor kmemleak fixes, so I'll send Linus a pull
    request in the next day or so.

    --
    Catalin




    \
     
     \ /
      Last update: 2011-05-19 16:11    [W:0.021 / U:31.352 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site