• I
    perf_counter: initialize the per-cpu context earlier · 0d905bca
    Ingo Molnar 提交于
    percpu scheduling for perfcounters wants to take the context lock,
    but that lock first needs to be initialized. Currently it is an
    early_initcall() - but that is too late, the task tick runs much
    sooner than that.
    
    Call it explicitly from the scheduler init sequence instead.
    
    [ Impact: fix access-before-init crash ]
    
    LKML-Reference: <new-submission>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    0d905bca
perf_counter.c 77.9 KB