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