peter.mayd...@linaro.org writes:

> 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.

These are for the current execution context though aren't they? I
thought Xin was talking about caching translations between invocations
of QEMU.

I suspect address space randomisation would be another wrinkle in the
side of any such scheme though.

>
> thanks
> -- PMM

-- 
Alex Bennée
QEMU/KVM Hacker for Linaro


Reply via email to