lkml.org 
[lkml]   [2010]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RFC][PATCH 5/8] init: Initialized IRD earlier
    perf_event_init() wants to start using IDR trees, its needs in turn
    are satisfied by mm_init().

    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    ---
    init/main.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    Index: linux-2.6/init/main.c
    ===================================================================
    --- linux-2.6.orig/init/main.c
    +++ linux-2.6/init/main.c
    @@ -605,6 +605,7 @@ asmlinkage void __init start_kernel(void
    "enabled *very* early, fixing it\n");
    local_irq_disable();
    }
    + idr_init_cache();
    perf_event_init();
    rcu_init();
    radix_tree_init();
    @@ -661,7 +662,6 @@ asmlinkage void __init start_kernel(void
    enable_debug_pagealloc();
    kmemleak_init();
    debug_objects_mem_init();
    - idr_init_cache();
    setup_per_cpu_pageset();
    numa_policy_init();
    if (late_time_init)



    \
     
     \ /
      Last update: 2010-11-17 23:27    [W:0.019 / U:0.344 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site