[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] AioContext: fix broken placement of event_no
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v2] AioContext: fix broken placement of event_notifier_test_and_clear |
Date: |
Tue, 21 Jul 2015 08:51:19 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 21/07/2015 03:19, Fam Zheng wrote:
> > Yes, that would work. I am not sure how complex it would be. You would also
> > need
> > a solution for the GSource and one (probably similar to aio-posix) for your
> > epoll implementation. With ctx->notified at least you can encapsulate it in
> > aio_notify_accept...
>
> Yes, I'll take this into consideration when I refactor for epoll
> implementation. For now I think aio_notify_accept is cleaner.
Ok, I'll wait for Stefan to pick up the unoptimized version, and then
send v2 of aio_notify_accept.
Paolo
Re: [Qemu-devel] [PATCH v2] AioContext: fix broken placement of event_notifier_test_and_clear, Stefan Hajnoczi, 2015/07/20
Re: [Qemu-devel] [PATCH v2] AioContext: fix broken placement of event_notifier_test_and_clear, Stefan Hajnoczi, 2015/07/21