qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH tcg-next] cputlb: read CPUTLBEntry.addr_write at


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH tcg-next] cputlb: read CPUTLBEntry.addr_write atomically
Date: Tue, 16 Oct 2018 10:13:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 10/16/18 8:38 AM, Emilio G. Cota wrote:
> Updates can come from other threads, so readers that do not
> take tlb_lock must use atomic_read to avoid undefined
> behaviour (UB).
> 
> This completes the conversion to tlb_lock. This conversion results
> on average in no performance loss, as the following experiments
> (run on an Intel i7-6700K CPU @ 4.00GHz) show.

Thanks for the quick turn-around.  Queued.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]