• Peter Zijlstra's avatar
    perf_counter: remove rq->lock usage · 849691a6
    Peter Zijlstra authored
    Now that all the task runtime clock users are gone, remove the ugly
    rq->lock usage from perf counters, which solves the nasty deadlock
    seen when a software task clock counter was read from an NMI overflow
    context.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    LKML-Reference: <20090406094518.531137582@chello.nl>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    849691a6
sched.c 248 KB