Ingo Molnar 87b9cf4623 x86, perfcounters: read out MSR_CORE_PERF_GLOBAL_STATUS with counters disabled
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>
2008-12-08 15:56:42 +01:00
..
2008-12-08 15:47:15 +01:00
2008-10-16 16:53:13 +02:00
2008-10-16 09:24:41 -07:00
2008-10-16 16:53:13 +02:00
2008-12-08 15:47:15 +01:00
2008-11-16 10:05:07 +01:00
2008-09-29 10:04:53 +02:00
2008-10-13 10:21:10 +02:00
2008-04-26 17:35:47 +02:00
2008-07-22 14:35:57 +02:00
2008-10-16 16:53:30 +02:00
2008-12-08 15:47:15 +01:00
2008-12-08 15:47:15 +01:00
2008-12-08 15:47:15 +01:00
2008-10-12 12:37:32 +02:00
2008-07-26 12:00:04 -07:00
2008-10-12 12:37:32 +02:00
2008-10-23 00:11:07 -04:00
2008-10-20 08:52:41 -07:00
2008-12-08 15:47:15 +01:00
2008-08-25 10:59:18 +02:00
2008-07-16 12:15:17 -07:00
2008-07-26 16:31:35 +02:00
2008-07-22 14:35:57 +02:00
2008-10-22 22:55:23 -07:00
2008-07-22 14:35:57 +02:00
2008-11-08 17:05:38 +01:00
2008-10-16 16:53:13 +02:00
2008-10-16 16:53:15 +02:00
2008-07-22 14:35:57 +02:00
2008-10-16 16:52:59 +02:00
2008-10-16 16:53:15 +02:00
2008-10-29 08:02:28 +01:00