From: Ingo Molnar Date: Mon, 8 Dec 2008 13:20:16 +0000 (+0100) Subject: x86, perfcounters: read out MSR_CORE_PERF_GLOBAL_STATUS with counters disabled X-Git-Tag: v2.6.31-rc1~383^2~587 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87b9cf4623ad4e5fc009e48c020593dffd5d3793;p=pandora-kernel.git 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 --- Reading git-diff-tree failed