CVS commit: src/sys/dev/nvmm/x86
"YAMAMOTO Takashi" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: yamt Date: Sun Mar 22 09:29:55 UTC 2026 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c Log Message: nvmm_x86_vmx.c: fixes tprof stalls the current implementation of nvmm nmi handling is simple; just drops them. it interferes other nmi-using components in the system, including tprof. this commit makes nvmm try to dispatch nmis by itself. while this is imperfect, it's good enough to give tprof a chance to unmask LAPIC_LVT_PCINT. i guess svm VMCB_EXITCODE_NMI needs something similar. but i have no hardware. if someone wants to test a patch, please let me know. reproduce recipe: 1. run "tprof top" in a terminal. leave it running. 2. run an nvmm-based vm in another terminal. 3. observe some cpus in the "tprof top" stopped counting. To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.