This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Using __kuser_cmpxchg
- From: Andrew Haley <aph at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: Nicolas Pitre <nico at cam dot org>, Paul Brook <paul at codesourcery dot com>, java at gcc dot gnu dot org, linux-arm-kernel at lists dot arm dot linux dot org dot uk
- Date: Thu, 15 Nov 2007 19:36:42 +0000
- Subject: Re: Using __kuser_cmpxchg
David Daney writes:
>
> Am I missing something here?
>
> Is it really impossible to implement compare_and_swap on these ARM
> platforms?
No, but it is exceedingly difficult to do it *efficiently*.
Andrew.