Skip to content
Commit 87b9cf46 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

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: default avatarIngo Molnar <mingo@elte.hu>
parent 241771ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment