From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43984 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZgzw-0003Co-Dw for qemu-devel@nongnu.org; Mon, 03 Jan 2011 04:46:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZgzv-0003fj-5q for qemu-devel@nongnu.org; Mon, 03 Jan 2011 04:46:40 -0500 Received: from fmmailgate03.web.de ([217.72.192.234]:48301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZgzu-0003f3-Vb for qemu-devel@nongnu.org; Mon, 03 Jan 2011 04:46:39 -0500 Message-ID: <4D219AF5.2030204@web.de> Date: Mon, 03 Jan 2011 10:46:29 +0100 From: Jan Kiszka MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE970BE8BC712C68D7019AC1C" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Role of qemu_fair_mutex List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Marcelo Tosatti , kvm This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE970BE8BC712C68D7019AC1C Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hi, at least in kvm mode, the qemu_fair_mutex seems to have lost its function of balancing qemu_global_mutex access between the io-thread and vcpus. It's now only taken by the latter, isn't it? This and the fact that qemu-kvm does not use this kind of lock made me wonder what its role is and if it is still relevant in practice. I'd like to unify the execution models of qemu-kvm and qemu, and this lock is the most obvious difference (there are surely more subtle ones as well...). Jan --------------enigE970BE8BC712C68D7019AC1C 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.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk0hmvsACgkQitSsb3rl5xSQ0QCgsdWd7r86yalLmQhQZbQQqKv+ qJYAn3GFi6MEjmIdtb+ZE7briYMXqpFk =OOXU -----END PGP SIGNATURE----- --------------enigE970BE8BC712C68D7019AC1C--