From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAa32-0002De-Nv for qemu-devel@nongnu.org; Sat, 17 Aug 2013 02:31:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAa2x-0002T6-DL for qemu-devel@nongnu.org; Sat, 17 Aug 2013 02:31:40 -0400 Received: from mail-ee0-x231.google.com ([2a00:1450:4013:c00::231]:43649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAa2x-0002T2-7P for qemu-devel@nongnu.org; Sat, 17 Aug 2013 02:31:35 -0400 Received: by mail-ee0-f49.google.com with SMTP id d41so1215422eek.8 for ; Fri, 16 Aug 2013 23:31:34 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <520F189B.5080905@redhat.com> Date: Sat, 17 Aug 2013 08:30:51 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1376664101-12634-1-git-send-email-ncmike@ncultra.org> In-Reply-To: <1376664101-12634-1-git-send-email-ncmike@ncultra.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH 0/3] v2.2 RCU Implementation for QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mike Day Cc: qemu-devel@nongnu.org Il 16/08/2013 16:41, Mike Day ha scritto: > This patch set merges Paolo's conversion of address spaces to enable > RCU. There is one more patchset coming for TLB access that I'm > debugging right now. After I submit the last one I'll start working on > enabling RCU more widely - and the series will need to be refactored. > > The series is availale online at: > > https://github.com/ncultra/qemu/tree/rcu-for-1.7 > > Mike Day (2): > fixup changes from commit f63ca950 > fixup changes from commit f62a6b2f from Paulo Bonzini > > Paolo Bonzini (1): > exec: change iotlb APIs to take AddressSpaceDispatch > > aio-posix.c | 1 + > aio-win32.c | 1 + > cpus.c | 3 +++ > cputlb.c | 7 ++++--- > exec.c | 13 ++++++++----- > include/exec/cpu-all.h | 3 +++ > include/exec/cputlb.h | 9 ++++++--- > 7 files changed, 26 insertions(+), 11 deletions(-) > Thanks Mike! I think iotlb APIs can be made RCU-friendly by: 1) storing an AddressSpaceDispatch in the CPUArchState (which iotlb_to_region can then use); 2) doing tcg_commit's TLB flush in the VCPU thread. I'll pick up your changes and post the RCU patches in a few weeks. Paolo