opnsense-src/sys/x86
Andrew Gallatin 194bb58b80 x86: Fixes for nmi/pmi interrupt sharing
- Fix a bug where the semantics of refcount_release() were
reversed.  This would lead to the nmi interrupt being prematurely
masked in the local apic, leading to an out-of-tree profiling
tool only getting results the first time it was run.

- Stop executing nmi handlers after one claims the interrupt.
The core2 hwpmc handler seems to be especially heavy, and running it
in addition to vtune's handler caused roughly 50% of the nmi interrupts
to be lost (and caused vtune to give worse results).

Reviewed by: bojan
Sponsored by: Netflix
2025-02-05 10:26:27 -05:00
..
acpica kern: Make fileops and filterops tables const where possible 2024-11-26 21:04:21 +00:00
bios newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
conf LINT: Remove DTrace support, but leave the commented out option 2024-12-03 16:59:50 +01:00
cpufreq hwpstate_amd: add amd pstate for zen5 2025-01-16 14:25:45 +00:00
include sys: make the kernel metadata pointer global 2025-01-24 14:25:51 -07:00
iommu amd iommu: remove unused function 2024-12-16 00:49:52 +02:00
isa x86/atpic: convert INTSRC() macro into designated initializer 2024-12-11 15:54:09 -07:00
linux linux(4): Remove sys/cdefs.h inclusion under x86/linux due to 685dc743 2023-08-18 15:58:32 +03:00
pci Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
x86 x86: Fixes for nmi/pmi interrupt sharing 2025-02-05 10:26:27 -05:00
xen sys: make the kernel metadata pointer global 2025-01-24 14:25:51 -07:00