On 10/7/19 11:28 AM, Alex Bennée wrote:
> We keep track of translations but can only do so up until the
> translation cache is flushed. At that point we really have no idea if
> we can re-create a translation because all the active tracking
> information has been reset.
> 
> Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
> ---
>  accel/tcg/tb-stats.c      | 19 +++++++++++++++++++
>  accel/tcg/translate-all.c |  2 +-
>  include/exec/tb-stats.h   |  8 ++++++++
>  3 files changed, 28 insertions(+), 1 deletion(-)

I still don't understand what the tbs array is for,
but resetting it at flush is fine.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to