CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2022/11/23 12:48:36
Modified files: sys/arch/amd64/amd64: Tag: OPENBSD_7_2 vmm.c Log message: vmm(4): allocate reference for vm and vcpu SLISTs Mischa Peters reported a performance regression in 7.2 when hosting numerous guests under vmm(4). While iterating through the list of vms during servicing an ioctl, vmm was triggering excessive wakeup calls due to hitting zero refcnt. Much guidance from dlg@ and testing from Mischa. OK mlarkin@. from dv@ 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 from mlarkin@ this is errata/7.2/006_vmm.patch.sig