• P
    perf_counter: Solve the rotate_ctx vs inherit race differently · d7b629a3
    Peter Zijlstra 提交于
    Instead of disabling RR scheduling of the counters, use a different list
    that does not get rotated to iterate the counters on inheritance.
    
    [ Impact: cleanup, optimization ]
    Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    Cc: John Kacur <jkacur@redhat.com>
    LKML-Reference: <20090520102553.237504544@chello.nl>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    d7b629a3
perf_counter.h 16.4 KB