[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] cpu-exec: Fix direct jump to TB spanning page
From: |
Sergey Fedorov |
Subject: |
Re: [Qemu-devel] [PATCH] cpu-exec: Fix direct jump to TB spanning page |
Date: |
Mon, 16 May 2016 17:36:18 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 |
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