commit | 9b1890ad901bd22352b8a9598220df51fe8b0d41 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Sat Jan 28 19:11:20 2023 -1000 |
committer | Richard Henderson <richard.henderson@linaro.org> | Wed Mar 01 07:33:27 2023 -1000 |
tree | d2ebe1ff18628461d2099864a2fe86ecb5cffbc9 | |
parent | 597f9b2d30b612d760f9f48fe04cda29bf628e67 [diff] |
accel/tcg: Use more accurate max_insns for tb_overflow 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. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>