Received: from eggs.gnu.org ([2001:4830:134:3::10]:33548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNfTn-0002e4-Da for qemu-devel@nongnu.org; Thu, 14 Jul 2016 08:11:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNfTh-0006rP-Ca for qemu-devel@nongnu.org; Thu, 14 Jul 2016 08:10:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNfTh-0006rK-6y for qemu-devel@nongnu.org; Thu, 14 Jul 2016 08:10:53 -0400 References: <1468354426-837-1-git-send-email-sergey.fedorov@linaro.org> <148a0c48-f58c-6d95-8b97-6449670019ac@redhat.com> <87wpko4edi.fsf@linaro.org> From: Paolo Bonzini Message-ID: <54367505-7189-9f06-b66e-4bc4d206b8ea@redhat.com> Date: Thu, 14 Jul 2016 14:10:46 +0200 MIME-Version: 1.0 In-Reply-To: <87wpko4edi.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 00/11] Reduce lock contention on TCG hot-path List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: Sergey Fedorov , qemu-devel@nongnu.org, mttcg@greensocs.com, fred.konrad@greensocs.com, a.rigo@virtualopensystems.com, serge.fdrv@gmail.com, cota@braap.org, bobby.prani@gmail.com, rth@twiddle.net, peter.maydell@linaro.org, patches@linaro.org, claudio.fontana@huawei.com, mark.burton@greensocs.com, jan.kiszka@siemens.com On 14/07/2016 14:02, Alex Benn=C3=A9e wrote: > Looking at the perf data it looks like the hotest part of the code now > is cpu_get_tb_cpu_state which is required to get the initial hash to > search for the next tb. It should be possible to keep the flags up-to-date in a separate field of CPUARMState, similar to what x86 does. Paolo