tb_find_fast and tb_find_slow are finding the translated blocks based on
guest physical address. I am thinking about finding tbs by content, e.g.
using a hash signature. this can be used to potentially save translations.

Xin


On Mon, Dec 9, 2013 at 7:32 AM, Peter Maydell <peter.mayd...@linaro.org>wrote:

> On 9 December 2013 06:36, Xin Tong <trent.t...@gmail.com> wrote:
> > Is it possible for QEMU to obviate some of the translations by attaching
> a
> > signature (e.g. a hash) with every translated basic block and try to
> reuse
> > translated basic block based on the signature as much as possible ?
> Reuses
> > can be a result of rerunning programs or same libraries statically
> linked to
> > programs.
>
> We already cache translated results. See tb_find_fast()
> and tb_find_slow() which do the lookup into the cache.
>
> thanks
> -- PMM
>

Reply via email to