vmm(4): remove locking in vmm_intr_pending
authormlarkin <mlarkin@openbsd.org>
Tue, 8 Nov 2022 18:08:43 +0000 (18:08 +0000)
committermlarkin <mlarkin@openbsd.org>
Tue, 8 Nov 2022 18:08:43 +0000 (18:08 +0000)
commit2b8c5d5f8e3949e8060271d612ddfcfbbebb8c34
tree326a69cbec2eec0f58be19e2115b404ea4917000
parent2b339f4b78f353a76c09f4edde2337a23c842647
vmm(4): remove locking in vmm_intr_pending

Removes a lock around an atomic write; this lock was causing slowdowns
since the lock being requested is nearly always unavailable because it
is held while the VM is running.

Noticed by claudio@, help from mpi@, dlg@ and claudio@.

ok dv
sys/arch/amd64/amd64/vmm.c