• Ingo Molnar's avatar
    perf_counter: Move child perfcounter init to after scheduler init · e4cbb4e3
    Ingo Molnar authored
    Initialize a task's perfcounters (inherit from parent, etc.) after
    the child task's scheduler fields have been initialized already.
    
    [ Impact: cleanup ]
    
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: John Kacur <jkacur@redhat.com>
    Cc: Mike Galbraith <efault@gmx.de>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    e4cbb4e3
fork.c 41.5 KB