From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYFKo-0007ds-MI for qemu-devel@nongnu.org; Wed, 18 Mar 2015 10:52:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYFKl-0001A4-FR for qemu-devel@nongnu.org; Wed, 18 Mar 2015 10:52:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYFKl-00019z-9Z for qemu-devel@nongnu.org; Wed, 18 Mar 2015 10:52:35 -0400 Message-ID: <5509912E.7020007@redhat.com> Date: Wed, 18 Mar 2015 15:52:30 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1426684909-95030-1-git-send-email-pbonzini@redhat.com> <55098CA4.8060203@siemens.com> In-Reply-To: <55098CA4.8060203@siemens.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.4 0/8] memory: enable unlocked PIO/MMIO in KVM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka , qemu-devel@nongnu.org On 18/03/2015 15:33, Jan Kiszka wrote: > Just in time: I'm planning to rebase our queue soon, specifically to > benefit from RCU support. Will let you know if it works on top of this > series. Great. FWIW, this is the most similar version to the one we played with in 2013. I have an alternative one that keeps the single address_space_rw API, and checks if you have the iothread mutex using thread-local storage. The reason for that is that I would have to introduce address_space_map/unmap_unlocked too, which I didn't really like. Also, in the not-so-long term we want the same code (e.g. SCSI layer) to run in both locked and unlocked mode. What do you think? Paolo