From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJ22r-0002ZS-TC for qemu-devel@nongnu.org; Tue, 12 Jan 2016 11:43:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJ22o-0000sY-NV for qemu-devel@nongnu.org; Tue, 12 Jan 2016 11:43:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJ22o-0000sS-Ik for qemu-devel@nongnu.org; Tue, 12 Jan 2016 11:43:42 -0500 References: <87r3hx6040.fsf@linaro.org> <5695081C.1070101@greensocs.com> <87vb6yde8g.fsf@linaro.org> <5695196E.70902@redhat.com> <87twmidbdb.fsf@linaro.org> <569527A0.5080502@redhat.com> <87si22dah3.fsf@linaro.org> From: Paolo Bonzini Message-ID: <56952D38.40109@redhat.com> Date: Tue, 12 Jan 2016 17:43:36 +0100 MIME-Version: 1.0 In-Reply-To: <87si22dah3.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] MTTCG sync-up call today? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: mttcg@greensocs.com, Mark Burton , Paolo Bonzini , alvise rigo , QEMU Developers , KONRAD Frederic On 12/01/2016 17:32, Alex Benn=C3=A9e wrote: >> I need to look at the branch... The latest version I have here does >> not require tb_lock taken in tb_invalidate_phys_range. >=20 > The tb_locks asserts where added in Fred's branch which makes sense as > we are going to mess with the translation block cache. Looking more > closely at tb_invalidate_phys_page_range I see it jumps through some > hoops when cpu =3D=3D current_cpu =3D=3D NULL. Does tb_invalidate_phys_page_range not take tb_lock itself? Paolo