|
From: | Frederic Konrad |
Subject: | Re: [Qemu-devel] [RFC PATCH V6 18/18] translate-all: (wip) use tb_flush_safe when we can't alloc more tb. |
Date: | Fri, 26 Jun 2015 18:38:43 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 26/06/2015 18:21, Paolo Bonzini wrote:
On 26/06/2015 16:47, address@hidden wrote:@@ -1147,7 +1147,7 @@ TranslationBlock *tb_gen_code(CPUState *cpu, tb = tb_alloc(pc); if (!tb) { /* flush must be done */ - tb_flush(env); + tb_flush_safe(env);Should you just call cpu_loop_exit() here, instead of redoing the tb_alloc etc.? Paolo
Ah yes good point! Thanks, Fred
/* cannot fail at this point */ tb = tb_alloc(pc);
[Prev in Thread] | Current Thread | [Next in Thread] |