qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/9] event poll: make epoll work for normal fd


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 3/9] event poll: make epoll work for normal fd
Date: Thu, 21 Feb 2013 16:41:19 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Feb 21, 2013 at 02:24:21PM +0100, Paolo Bonzini wrote:
> Il 21/02/2013 13:54, Liu Ping Fan ha scritto:
> > From: Liu Ping Fan <address@hidden>
> > 
> > When event poll can work with normal fd, we can port them
> > onto the event loop.
> 
> Please start transitioning to the AioContext API instead.  I doubt there
> is any performance difference for 2-3 file descriptors between poll and
> epoll, but if there were any we can introduce aio-linux.c that uses epoll.
> 
> I'll send later a patch to use AioContext instead of EventPoll for
> virtio-blk dataplane.

Thanks Paolo.  Although using AioContext for dataplane's event loop has
been on my TODO list I haven't written any code yet - so no duplicated
work if you have time to tackle this.

Stefan



reply via email to

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