On 23/04/16 13:21, Peter Maydell wrote:
TBs are looked up by (virtual) PC + flags + physical address, so if
the same lump of code is mapped at two different virtual addresses
we'll translate it twice. (More precisely, tb_find_fast() checks
only the virtual address, but it does so in a cache which is
invalidated when the guest does a TLB invalidate operation; if
the cache misses we fall back to tb_find_slow() which also checks
physical address.)

thanks

Thank-you very much for your explanation, and taking the time to respond.

-- PMM

Much appreciated!

--
Kindest Regards,
Tom Spink

University of Edinburgh


The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


Reply via email to