Re: [PATCH] kvm-vmx: add module parameter to avoid trapping HLT instructions (v2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 03, 2010 at 04:49:20PM -0600, Anthony Liguori wrote:
> default_idle() is not exported to modules and is not an interface
> meant to be called directly.  Plus, an idle loop like this delays
> the guest until the scheduler wants to run something else but it
> doesn't account for another thread trying to inject an event into
> the halting thread.  It's not immediately clear to me how to have
> what's effectively a wait queue that hlts instead of calls the
> scheduler.  You could mess around with various signalling mechanisms
> but it gets ugly fast.

How about using MWAIT?

- vatsa
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux