From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcRZ7-0006vb-CU for qemu-devel@nongnu.org; Sat, 24 Nov 2012 21:03:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TcRZ6-0004G1-7Y for qemu-devel@nongnu.org; Sat, 24 Nov 2012 21:03:25 -0500 Received: from mail-ia0-f173.google.com ([209.85.210.173]:45118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcRZ6-0004Fx-1i for qemu-devel@nongnu.org; Sat, 24 Nov 2012 21:03:24 -0500 Received: by mail-ia0-f173.google.com with SMTP id w21so5738126iac.4 for ; Sat, 24 Nov 2012 18:03:22 -0800 (PST) From: Liu Ping Fan Date: Sun, 25 Nov 2012 10:02:57 +0800 Message-Id: <1353808984-22368-1-git-send-email-qemulist@gmail.com> Subject: [Qemu-devel] [PATCH v7 0/7] push mmio dispatch out of big lock List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , gleb@redhat.com, Jan Kiszka , Marcelo Tosatti , Anthony Liguori , Stefan Hajnoczi , Paolo Bonzini From: Liu Ping Fan v1: https://lists.gnu.org/archive/html/qemu-devel/2012-07/msg03312.html v2: http://lists.gnu.org/archive/html/qemu-devel/2012-08/msg01275.html v3: http://lists.nongnu.org/archive/html/qemu-devel/2012-09/msg01474.html v4: http://lists.gnu.org/archive/html/qemu-devel/2012-10/msg03857.html v5: https://lists.gnu.org/archive/html/qemu-devel/2012-10/msg04867.html v6: http://lists.gnu.org/archive/html/qemu-devel/2012-11/msg00542.html -- changes v5->v6: Apply fine-grain lock for all address space. Introduce separated interface to allow mmio dispatcher called with/without big lock. changes v6->v7: drop wrapper of gcc atomic builtin Liu Ping Fan (7): qom: apply atomic on object's refcount hotplug: introduce qdev_unplug_complete() to remove device from views pci: remove pci device from mem view when unplug memory: introduce local lock for address space memory: make mmio dispatch able to be out of biglock memory: introduce tls context to trace nested mmio request issue vcpu: push mmio dispatcher out of big lock cpu-common.h | 3 + docs/memory.txt | 4 + exec.c | 206 ++++++++++++++++++++++++++++++++++++++++++++++++----- hw/acpi_piix4.c | 2 +- hw/pci.c | 13 +++- hw/pci.h | 1 + hw/qdev.c | 26 +++++++ hw/qdev.h | 3 +- kvm-all.c | 4 +- memory-internal.h | 1 + memory.c | 1 + memory.h | 5 ++ qom/object.c | 5 +- 13 files changed, 250 insertions(+), 24 deletions(-) -- 1.7.4.4