From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVGfx-0000e3-DU for qemu-devel@nongnu.org; Mon, 05 Nov 2012 02:00:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVGfv-0007M2-MP for qemu-devel@nongnu.org; Mon, 05 Nov 2012 02:00:49 -0500 Received: from mout.web.de ([212.227.17.12]:60625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVGfv-0007Lx-7n for qemu-devel@nongnu.org; Mon, 05 Nov 2012 02:00:47 -0500 Message-ID: <50976419.4010605@web.de> Date: Mon, 05 Nov 2012 08:00:41 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <1352093924-17598-1-git-send-email-qemulist@gmail.com> In-Reply-To: <1352093924-17598-1-git-send-email-qemulist@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF02F907EFF8E3B4B585D93A1" Subject: Re: [Qemu-devel] [PATCH v6 0/8] push mmio dispatch out of big lock List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Ping Fan Cc: Peter Maydell , Stefan Hajnoczi , Marcelo Tosatti , qemu-devel@nongnu.org, Avi Kivity , Anthony Liguori , Paolo Bonzini This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF02F907EFF8E3B4B585D93A1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 2012-11-05 06:38, Liu Ping Fan wrote: > From: Liu Ping Fan >=20 > v1: > https://lists.gnu.org/archive/html/qemu-devel/2012-07/msg03312.html >=20 > v2: > http://lists.gnu.org/archive/html/qemu-devel/2012-08/msg01275.html >=20 > v3: > http://lists.nongnu.org/archive/html/qemu-devel/2012-09/msg01474.html >=20 > v4: > http://lists.gnu.org/archive/html/qemu-devel/2012-10/msg03857.html >=20 > v5: > https://lists.gnu.org/archive/html/qemu-devel/2012-10/msg04867.html >=20 > changes v5->v6: > Apply fine-grain lock for all address space. > Introduce separated interface to allow mmio dispatcher called with/wit= hout big lock. >=20 > Liu Ping Fan (8): > atomic: introduce atomic operations > 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 >=20 > cpu-common.h | 3 + > docs/memory.txt | 4 + > exec.c | 219 +++++++++++++++++++++++++++++++++++++++++= ++++---- > hw/acpi_piix4.c | 2 +- > hw/pci.c | 13 +++- > hw/pci.h | 1 + > hw/qdev.c | 26 ++++++ > hw/qdev.h | 3 +- > include/qemu/atomic.h | 63 ++++++++++++++ > include/qemu/object.h | 3 +- > kvm-all.c | 6 +- > memory-internal.h | 1 + > memory.c | 1 + > memory.h | 5 + > qemu-thread.h | 7 ++ > qom/object.c | 11 +-- > 16 files changed, 340 insertions(+), 28 deletions(-) > create mode 100644 include/qemu/atomic.h >=20 Very good! My feeling is we are getting closer. There are some minor style issues I'm not yet commenting on. We can go through this once everyone is happy with the design. Jan --------------enigF02F907EFF8E3B4B585D93A1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCXZBkACgkQitSsb3rl5xSzJgCgxK3E3iTQhB68RwVdhiaum2eI RjkAoLMMS/41HalGY9rNbF9w84g+q50v =eszI -----END PGP SIGNATURE----- --------------enigF02F907EFF8E3B4B585D93A1--