[PATCH] ARM: Add SWP/SWPB emulation for ARMv7 processors (v6)

Jamie Lokier jamie at shareable.org
Tue Aug 3 15:42:32 EDT 2010


Linus Walleij wrote:
> 2010/7/19 Kirill A. Shutemov <kirill at shutemov.name>:
> 
> > Why do we need this? Why do not just fix broken programs?
> 
> People tend to use some third-party precompiled binaries, some of
> them compiled with a compiler using SWP.
> 
> A typical example is the CDC Java runtime, JRE.

Also people like to run the same binaries on different ARMs.
E.g. Debian, Ubuntu.

System pthread libraries can have multiple implementations, but
not every user of SWP or LDREX/STREX is in the pthread libraries.

-- Jamie



More information about the linux-arm-kernel mailing list