On Mon, Feb 07, 2011 at 03:51:27PM +0200, Avi Kivity wrote:
> On 02/07/2011 03:48 PM, Gleb Natapov wrote:
> >>
> >> That's quite pointless, since those interrupts will be coalesced by
> >> the guest.
> >>
> >Yes, of course, and this is what I remember happening. At this point
> >interrupt de-coalescing kicks in.
>
> Maybe a more useful API would be to supply the callback with the
> number of missed wakeups since the last callback. The callback
> could then change the wakeup frequency to compensate, or do other
> clever things. If it needs the old behaviour, it can just execute
> its code in a loop.
>
Mat be. Or may be we can ask for new behaviour during timer creation.
I was just surprised about the claim that we lost wakeups.
--
Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html