summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-08 14:20:16 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-08 15:56:42 +0100
commit87b9cf4623ad4e5fc009e48c020593dffd5d3793 (patch)
treebd49f47b3fee4f4dc956e7db303fb1c20d53eee3 /init
parent241771ef016b5c0c83cd7a4372a74321c973c1e6 (diff)
downloadop-kernel-dev-87b9cf4623ad4e5fc009e48c020593dffd5d3793.zip
op-kernel-dev-87b9cf4623ad4e5fc009e48c020593dffd5d3793.tar.gz
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud