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)
commit7e2ae34749edf19e76e594b9c4b2cdde1066afc5
tree165879c7b508cac9b3238750bb8a3786e018b352
parent4c59e4676dc95f6f58a2cff5390b2699fa5b5549
perfcounters, x86: simplify disable/enable of counters

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>
arch/x86/kernel/cpu/perf_counter.c
This page took 0.023992 seconds and 5 git commands to generate.