From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhVrC-0001oA-Jo for qemu-devel@nongnu.org; Tue, 28 May 2013 22:11:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhVrB-0001jY-P0 for qemu-devel@nongnu.org; Tue, 28 May 2013 22:11:18 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:53713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhVrB-0001jP-Il for qemu-devel@nongnu.org; Tue, 28 May 2013 22:11:17 -0400 Received: by mail-pa0-f43.google.com with SMTP id hz11so5959962pad.30 for ; Tue, 28 May 2013 19:11:16 -0700 (PDT) From: Liu Ping Fan Date: Wed, 29 May 2013 10:11:03 +0800 Message-Id: <1369793469-30883-1-git-send-email-qemulist@gmail.com> Subject: [Qemu-devel] [PATCH v1 0/6] make memory listener prepared for rcu style List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Anthony Liguori From: Liu Ping Fan This series aim to make mmio dispatch lockless. Based on Paolo's tree git://github.com/bonzini/qemu.git, branch iommu For seqlock and rcu, I think Paolo will post them out later. rfcv1->v1: use seqlock to protect reader against writer (thanks to Paolo's suggestion) concenter the root of each AddressSpaceDispatch to ease switching to next Liu Ping Fan (6): mem: change variable to macro mem: make global dispatch table ready for rcu mem: fold tcg listener's logic into core memory listener mem: concenter the root of each AddressSpaceDispatch mem: make dispatch path satify rcu style mem: change tcg code to rcu style cputlb.c | 25 ++- exec.c | 462 ++++++++++++++++++++++++--------------- include/exec/memory-internal.h | 2 +- include/exec/softmmu_template.h | 53 ++++- 4 files changed, 358 insertions(+), 184 deletions(-) -- 1.7.4.4