Re: [Qemu-devel] [PATCH untested for-4.2] memory: fix race between TCG and accesses to dirty bitmap

2019-08-08 Thread Alex Bennée
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 >

Re: [Qemu-devel] [PATCH untested for-4.2] memory: fix race between TCG and accesses to dirty bitmap

2019-08-07 Thread Paolo Bonzini
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 >>

Re: [Qemu-devel] [PATCH untested for-4.2] memory: fix race between TCG and accesses to dirty bitmap

2019-08-06 Thread Peter Maydell
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