mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
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: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
4c59e4676d
commit
7e2ae34749
1 changed files with 28 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue