From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7NjA-0006dV-BP for qemu-devel@nongnu.org; Tue, 23 Jun 2015 08:55:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7Nj7-00060E-6C for qemu-devel@nongnu.org; Tue, 23 Jun 2015 08:55:00 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:36243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Nj6-0005zV-18 for qemu-devel@nongnu.org; Tue, 23 Jun 2015 08:54:57 -0400 Received: by wicnd19 with SMTP id nd19so105249076wic.1 for ; Tue, 23 Jun 2015 05:54:55 -0700 (PDT) References: <1435062084-25332-1-git-send-email-alex.bennee@linaro.org> <558951E3.5030509@redhat.com> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <558951E3.5030509@redhat.com> Date: Tue, 23 Jun 2015 13:55:33 +0100 Message-ID: <87381ih9dm.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [RFC PATCH] qemu_mutux: make the iothread recursive (MTTCG) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: mttcg@greensocs.com, peter.maydell@linaro.org, mark.burton@greensocs.com, qemu-devel@nongnu.org, fred.konrad@greensocs.com Paolo Bonzini writes: > On 23/06/2015 14:21, Alex Bennée wrote: >> While I was testing multi-threaded TCG I discovered once consequence of >> using locking around memory_region_dispatch is that virt-io transactions >> could dead lock trying to grab the main mutex. This is due to the >> virt-io driver writing data back into the system memory: > > Have you looked at the patches I posted last week? > > http://thread.gmane.org/gmane.comp.emulators.qemu/345258 No, but I will do now ;-) I sent this to the list so Mark and Fred could see what I'd done when I hit the virt-io problem. -- Alex Bennée