qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v9 08/13] tb-stats: reset the tracked TBs on a tb_flush


From: Richard Henderson
Subject: Re: [PATCH v9 08/13] tb-stats: reset the tracked TBs on a tb_flush
Date: Tue, 8 Oct 2019 14:00:18 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

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 <address@hidden>
> ---
>  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 <address@hidden>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]