On 16/05/16 16:49, Richard Henderson wrote: > On 05/16/2016 06:13 AM, Sergey Fedorov wrote: >> It is not safe to make a direct jump to a TB spanning two pages in >> system emulation because the mapping for the second page can get changed >> but we don't take care of direct jumps in this case. > We don't? I'm pretty sure that we do...
What we just do is flushing the CPU virtual address cache, see for tlb_flush() etc. Kind regards, Sergey