Skip to content
Commit 7e2ae347 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

perfcounters, x86: simplify disable/enable of counters



Impact: fix spurious missed counter wakeups

In the case of NMI events, close a race window that can occur if an NMI
hits counter code that temporarily disables+enables a counter, and the NMI
leaks into the disabled section.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 4c59e467
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