• P
    perf_counter: Clean up task_ctx vs interrupts · 665c2142
    Peter Zijlstra 提交于
    Remove the local_irq_save() etc.. in routines that are smp function
    calls, or have IRQs disabled by other means.
    
    Then change the COMM, MMAP, and swcounter context iteration to
    current->perf_counter_ctxp and RCU, since it really doesn't matter
    which context they iterate, they're all folded.
    Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: John Kacur <jkacur@redhat.com>
    LKML-Reference: <new-submission>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    665c2142
perf_counter.c 92.7 KB