Re: [Qemu-devel] [PATCH] notdirty_mem_write: implement 8-byte accesses

2017-10-13 Thread Richard Henderson
On 10/13/2017 11:27 AM, Andrew Baumann wrote: >> From: Andrew Baumann >> Sent: Friday, 13 October 2017 11:19 >> >> Aligned 8-byte memory writes by a 64-bit target on a 64-bit host should >> always turn into atomic 8-byte writes on the host, however if we missed >> in the softmmu, and the TLB line

Re: [Qemu-devel] [PATCH] notdirty_mem_write: implement 8-byte accesses

2017-10-13 Thread Richard Henderson
On 10/13/2017 11:19 AM, Andrew Baumann wrote: > Aligned 8-byte memory writes by a 64-bit target on a 64-bit host should > always turn into atomic 8-byte writes on the host, however if we missed > in the softmmu, and the TLB line was marked as not dirty, then we > would end up tearing the 8-byte

Re: [Qemu-devel] [PATCH] notdirty_mem_write: implement 8-byte accesses

2017-10-13 Thread Andrew Baumann via Qemu-devel
> From: Andrew Baumann > Sent: Friday, 13 October 2017 11:19 > > Aligned 8-byte memory writes by a 64-bit target on a 64-bit host should > always turn into atomic 8-byte writes on the host, however if we missed > in the softmmu, and the TLB line was marked as not dirty, then we > would end up

[Qemu-devel] [PATCH] notdirty_mem_write: implement 8-byte accesses

2017-10-13 Thread Andrew Baumann via Qemu-devel
Aligned 8-byte memory writes by a 64-bit target on a 64-bit host should always turn into atomic 8-byte writes on the host, however if we missed in the softmmu, and the TLB line was marked as not dirty, then we would end up tearing the 8-byte write into two 4-byte writes in