Re: [PATCH v2 03/28] accel/tcg: Use more accurate max_insns for tb_overflow

2023-02-24 Thread Philippe Mathieu-Daudé
On 23/2/23 00:26, Richard Henderson wrote: Write back the number of insns that we attempt to translate, so that if we longjmp out we have a more accurate limit for the next attempt. This results in fewer restarts when some limit is consumed by few instructions. Signed-off-by: Richard Henderson

[PATCH v2 03/28] accel/tcg: Use more accurate max_insns for tb_overflow

2023-02-22 Thread Richard Henderson
Write back the number of insns that we attempt to translate, so that if we longjmp out we have a more accurate limit for the next attempt. This results in fewer restarts when some limit is consumed by few instructions. Signed-off-by: Richard Henderson --- accel/tcg/translator.c | 2 +- 1 file c