From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCQ1q-0001ut-B0 for qemu-devel@nongnu.org; Tue, 07 Jul 2015 06:23:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCQ1l-0005cs-BK for qemu-devel@nongnu.org; Tue, 07 Jul 2015 06:23:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCQ1l-0005co-6v for qemu-devel@nongnu.org; Tue, 07 Jul 2015 06:23:01 -0400 References: <1435330053-18733-1-git-send-email-fred.konrad@greensocs.com> <1435330053-18733-3-git-send-email-fred.konrad@greensocs.com> <87r3ok9sur.fsf@linaro.org> From: Paolo Bonzini Message-ID: <559BA87E.70601@redhat.com> Date: Tue, 7 Jul 2015 12:22:54 +0200 MIME-Version: 1.0 In-Reply-To: <87r3ok9sur.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC PATCH V6 02/18] replace spinlock by QemuMutex. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= , fred.konrad@greensocs.com Cc: mttcg@greensocs.com, peter.maydell@linaro.org, a.spyridakis@virtualopensystems.com, mark.burton@greensocs.com, qemu-devel@nongnu.org, alistair.francis@xilinx.com, agraf@suse.de, guillaume.delbergue@greensocs.com On 07/07/2015 12:15, Alex Benn=C3=A9e wrote: > Why are the locking rules different for CONFIG_USER versus system > emulation? Looking at the final tree: >=20 >> > tb =3D tb_find_fast(env); > this eventually ends up doing a tb_lock on the find_slow path which IIR= C > is when might end up doing the actual code generation. >=20 Up to this point, system emulation is using the BQL for everything. I guess things change later. Paolo