From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBEkQ-0003Ze-Uz for qemu-devel@nongnu.org; Fri, 12 Dec 2008 15:36:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBEkQ-0003Yl-8R for qemu-devel@nongnu.org; Fri, 12 Dec 2008 15:36:30 -0500 Received: from [199.232.76.173] (port=53455 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBEkQ-0003Yi-3l for qemu-devel@nongnu.org; Fri, 12 Dec 2008 15:36:30 -0500 Received: from mx2.redhat.com ([66.187.237.31]:43667) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LBEkP-0002Hy-Mq for qemu-devel@nongnu.org; Fri, 12 Dec 2008 15:36:29 -0500 Message-ID: <4942CB1E.70505@redhat.com> Date: Fri, 12 Dec 2008 21:35:42 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RFC] Replace posix-aio with custom thread pool References: <49400F69.8080707@codemonkey.ws> <20081210190810.GG18814@random.random> <20081212142435.GL6809@random.random> <494276CD.6060904@codemonkey.ws> <20081212154418.GM6809@random.random> <49429629.20309@codemonkey.ws> <20081212170916.GO6809@random.random> <49429EA3.8070008@codemonkey.ws> <20081212175213.GP6809@random.random> <4942AAD6.1090408@codemonkey.ws> <20081212182634.GQ6809@random.random> <4942C5C1.9080107@redhat.com> <4942C6F7.2080609@codemonkey.ws> In-Reply-To: <4942C6F7.2080609@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Andrea Arcangeli , qemu-devel@nongnu.org, kvm-devel Anthony Liguori wrote: > I don't know about grant table references b/c that's really foreign > memory. But this is a good argument against the DMA as it stands, b/c > you may be handing foreign memory to bdrv_aio_readv/writev. > > A big reason for the map/unmap lock/unlock abstraction though would be > the qemu-dm map cache. I think you could use it to pretty reasonably > integrate the map cache which I know I've previously could never be done > :-) I see we fully agree here. /me mumbles something about funny mail crossings. Maybe we should use irc next time to save some typing ;) cheers, Gerd