qemu-devel
[Top][All Lists]
Advanced

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

Re: Question about atomics


From: Richard Henderson
Subject: Re: Question about atomics
Date: Sun, 13 Mar 2022 13:19:55 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 3/13/22 11:29, Warner Losh wrote:
So I was assuming that the cas instructions for arm use start/end_exclsive 
under the covers.
Is that the case?

Nope.  The store exclusive guest insn is implemented with a host cmpxchg.

Oh, I'd forgotten about the old arm cmpxchg64 syscall, which is still implemented with start/end_exclusive. That should get fixed...


r~



reply via email to

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