qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] [PATCHv10 00/31] aio / timers: Add AioContext tim


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC] [PATCHv10 00/31] aio / timers: Add AioContext timers and use ppoll
Date: Wed, 18 Sep 2013 11:25:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

Il 18/09/2013 11:02, Alex Bligh ha scritto:
> Paolo,
> 
> On 18 Sep 2013, at 09:23, Alex Bligh wrote:
> 
>>> Yes, that was my understanding too.  Can we do it for 1.7?
> 
> Whilst we are changing the calling semantics, do you think
> qemu_coroutine_yield() should also run the timers for the
> aio_context? IE should timers always be deferred to the
> next qemu_aio_wait() / aio_poll(), or should we make it
> so they can run whenever there is a 'schedule' between
> coroutines?

No, they should be left for the next aio_poll().

> I suspect making the change would be trivial. Its
> implications might not be.

Yes, they would not. :)

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]