perf_counter: x86: Robustify interrupt handling
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 14 May 2009 12:52:17 +0000 (14:52 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 15 May 2009 07:47:03 +0000 (09:47 +0200)
commita4016a79fcbd139e7378944c0d86a39fdbc70ecc
tree5cb378852a6714d84c6e5db1936bfff14c5d9c0d
parent9e35ad388bea89f7d6f375af4c0ae98803688666
perf_counter: x86: Robustify interrupt handling

Two consecutive NMIs could daze and confuse the machine when the
first would handle the overflow of both counters.

[ Impact: fix false-positive syslog messages under multi-session profiling ]

Signed-off-by: Peter 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: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c