x86, perfcounters: read out MSR_CORE_PERF_GLOBAL_STATUS with counters disabled
authorIngo Molnar <mingo@elte.hu>
Mon, 8 Dec 2008 13:20:16 +0000 (14:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Dec 2008 14:56:42 +0000 (15:56 +0100)
Impact: make perfcounter NMI and IRQ sequence more robust

Make __smp_perf_counter_interrupt() a bit more conservative: first disable
all counters, then read out the status. Most invocations are because there
are real events, so there's no performance impact.

Code flow gets a bit simpler as well this way.

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

No differences found