• Ingo Molnar's avatar
    perf_counter: x86: Fix throttling · f5a5a2f6
    Ingo Molnar authored
    If counters are disabled globally when a perfcounter IRQ/NMI hits,
    and if we throttle in that case, we'll promote the '0' value to
    the next lapic IRQ and disable all perfcounters at that point,
    permanently ...
    
    Fix it.
    
    [ Impact: fix hung perfcounters under load ]
    Acked-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: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    f5a5a2f6
perf_counter.c 28.1 KB