qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC 01/38] cpu-exec: add missing mmap_lock in tb_find_slow


From: Emilio G. Cota
Subject: [Qemu-devel] [RFC 01/38] cpu-exec: add missing mmap_lock in tb_find_slow
Date: Sun, 23 Aug 2015 20:23:30 -0400

Signed-off-by: Emilio G. Cota <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]