Short waits with umwait
Short waits with umwait
Posted Jun 17, 2019 4:08 UTC (Mon) by jcm (subscriber, #18262)In reply to: Short waits with umwait by xywang
Parent article: Short waits with umwait
I believe recent enough parts allow a small delta in the VMEXIT to be controlled by the Hypervisor. No idea if this is respected for the userspace mwait instructions, but it could be. In any case, you're coming out of the VM and when you go back in you're going to have to restart the pause. Similar for kernel/userspace. Interrupts will preempt anything like this. Otherwise you'd have a DoS opportunity.
