From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7P2Z-0005lG-G7 for qemu-devel@nongnu.org; Tue, 23 Jun 2015 10:19:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7P2T-0001Nw-Ru for qemu-devel@nongnu.org; Tue, 23 Jun 2015 10:19:07 -0400 Received: from greensocs.com ([193.104.36.180]:39064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7P2T-0001Ng-LX for qemu-devel@nongnu.org; Tue, 23 Jun 2015 10:19:01 -0400 Message-ID: <55896AD1.1090407@greensocs.com> Date: Tue, 23 Jun 2015 16:18:57 +0200 From: Frederic Konrad MIME-Version: 1.0 References: <1434646046-27150-1-git-send-email-pbonzini@redhat.com> <1434646046-27150-2-git-send-email-pbonzini@redhat.com> <558963FC.6030308@greensocs.com> <5589659D.7040907@redhat.com> In-Reply-To: <5589659D.7040907@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/9] main-loop: use qemu_mutex_lock_iothread consistently List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: jan.kiszka@siemens.com, Mark Burton , Guillaume Delbergue On 23/06/2015 15:56, Paolo Bonzini wrote: > > On 23/06/2015 15:49, Frederic Konrad wrote: >>> Hopefully, multithreaded TCG will get rid of the whole logic to kick >>> VCPUs whenever an I/O event occurs! >> Hopefully :), this means dropping the iothread mutex as soon as possible >> and removing the iothread_requesting_mutex I guess.. > Yes---running most of cpu_exec outside the BQL, like KVM. io_read and > io_write would have to get and release the lock if necessary. > > cpu_resume_from_signal also might have to release the lock. > > Paolo Ok good, Can you add me in CC to this series so I can see when it's pulled etc please. Thanks, Fred