|
|
Subscribe / Log in / New account

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.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds