perfcounters, x86: simplify disable/enable of counters
authorIngo Molnar <mingo@elte.hu>
Tue, 9 Dec 2008 10:40:46 +0000 (11:40 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 9 Dec 2008 18:28:48 +0000 (19:28 +0100)
Impact: fix spurious missed counter wakeups

In the case of NMI events, close a race window that can occur if an NMI
hits counter code that temporarily disables+enables a counter, and the NMI
leaks into the disabled section.

Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found