The race is as follows:
vCPU thread reader thread
--- ---
TLB check -> slow path
notdirty_mem_write
write to RAM
set dirty flag
clear dirty flag
TLB
On 06/08/19 16:23, Peter Maydell wrote:
> On Mon, 29 Jul 2019 at 22:47, Paolo Bonzini wrote:
>>
>> The race is as follows:
>>
>> vCPU thread reader thread
>> --- ---
>> TLB check -> slow path
>> notdirty_mem_wr
Paolo Bonzini writes:
> The race is as follows:
>
> vCPU thread reader thread
> --- ---
> TLB check -> slow path
> notdirty_mem_write
> write to RAM
> set dirty flag
>
On Mon, 29 Jul 2019 at 22:47, Paolo Bonzini wrote:
>
> The race is as follows:
>
> vCPU thread reader thread
> --- ---
> TLB check -> slow path
> notdirty_mem_write
> write to RAM
> set dirt