From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxt4G-0004Mj-Iz for qemu-devel@nongnu.org; Thu, 28 May 2015 04:21:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yxt4F-0003W6-M8 for qemu-devel@nongnu.org; Thu, 28 May 2015 04:21:32 -0400 Message-ID: <5566D000.3030101@redhat.com> Date: Thu, 28 May 2015 10:21:20 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1432711146-28405-1-git-send-email-famz@redhat.com> <556590B1.2040405@redhat.com> <20150528014615.GA22609@dhcp-14-238.nay.redhat.com> In-Reply-To: <20150528014615.GA22609@dhcp-14-238.nay.redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH 0/4] aio: Don't poll ioeventfd in nested aio_poll() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Kevin Wolf , qemu-block@nongnu.org, "Michael S. Tsirkin" , Stefan Weil , qemu-devel@nongnu.org, Stefan Hajnoczi On 28/05/2015 03:46, Fam Zheng wrote: > The main context uses iohandler and aio_dispatch, neither calls > aio_set_dispatching(). However, if we have [2], they can be changed to > aio_poll(), then would this idea work? I think it's a bad idea to handle aio_poll for context B in a different way, just because you have an outer aio_poll for context A... Paolo