On 06/25/2013 03:35 AM, Peter Maydell wrote:
> (and maybe even actually get all targets
> up to having NPTL enabled, since it's mostly just implementing
> the two functions being moved here for x86, sparc, openrisc.

There's far more to it than that for x86.  You've got to add
support for all of the locked arithmetic instructions.

We currently have several hacks for atomic operations in
linux-user, usually involving some escape into the cpu loop that
pauses the other threads.  This as opposed to assuming some
atomic support on behalf of the host...

It's a mess.


r~

Reply via email to