From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTfZ2-0006uU-RJ for qemu-devel@nongnu.org; Sun, 23 Aug 2015 20:24:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTfYz-0000eJ-IN for qemu-devel@nongnu.org; Sun, 23 Aug 2015 20:24:40 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:53070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTfYz-0000cL-CM for qemu-devel@nongnu.org; Sun, 23 Aug 2015 20:24:37 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E28CE206A5 for ; Sun, 23 Aug 2015 20:24:35 -0400 (EDT) From: "Emilio G. Cota" Date: Sun, 23 Aug 2015 20:23:30 -0400 Message-Id: <1440375847-17603-2-git-send-email-cota@braap.org> In-Reply-To: <1440375847-17603-1-git-send-email-cota@braap.org> References: <1440375847-17603-1-git-send-email-cota@braap.org> Subject: [Qemu-devel] [RFC 01/38] cpu-exec: add missing mmap_lock in tb_find_slow List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, mttcg@listserver.greensocs.com Cc: mark.burton@greensocs.com, a.rigo@virtualopensystems.com, guillaume.delbergue@greensocs.com, pbonzini@redhat.com, alex.bennee@linaro.org, Frederic Konrad Signed-off-by: Emilio G. Cota --- cpu-exec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpu-exec.c b/cpu-exec.c index f53475c..b8a11e1 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -330,6 +330,7 @@ static TranslationBlock *tb_find_slow(CPUState *cpu, if (!tb) { tb = tb_gen_code(cpu, pc, cs_base, flags, 0); } + mmap_unlock(); } /* we add the TB in the virtual pc hash table */ -- 1.9.1