On 23/08/2015 17:23, Emilio G. Cota wrote: > @@ -16,6 +16,7 @@ static inline void gen_tb_start(TranslationBlock *tb) > > exitreq_label = gen_new_label(); > flag = tcg_temp_new_i32(); > + tcg_gen_smp_rmb(); > tcg_gen_ld_i32(flag, cpu_env, > offsetof(CPUState, tcg_exit_req) - ENV_OFFSET); > tcg_gen_brcondi_i32(TCG_COND_NE, flag, 0, exitreq_label);
This can also be done in cpu-exec.c. I have addressed Richard Henderson's comments on the "signal-free TCG exit" patches and will resend them asap. Paolo