This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Re: Patch: 32bit and 64bit Sparc Linux support in libffi
Bryce McKinlay wrote:
> Yeah. I'm planning to try building it without the spinlocks to see if they
> are the source of GCTest failures on my SMP (x86) machine. Linuxthreads
> uses "LOCK, CMPXCHGL" while gc uses XCHG with no "LOCK". I'm wondering if
> this is actually SMP-safe?
XCHG implicitly locks the bus. I remember that much from the Intel
docs.
--
Jeff Sturm
jsturm@sigma6.com