This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: ARM: avoid use of swp instruction in pthread locking
- From: Daniel Jacobowitz <drow at false dot org>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: libc-ports at sourceware dot org
- Date: Mon, 6 Aug 2007 13:58:13 -0400
- Subject: Re: ARM: avoid use of swp instruction in pthread locking
- References: <46A4E025.5030205@codesourcery.com>
On Mon, Jul 23, 2007 at 10:06:45AM -0700, Zack Weinberg wrote:
> * sysdeps/arm/nptl/pthread_spin_lock.S
> * sysdeps/arm/nptl/pthread_spin_trylock.S: Delete.
> * sysdeps/arm/nptl/pthread_spin_lock.c
> * sysdeps/arm/nptl/pthread_spin_trylock.c: New files using <atomic.h>
> primitives to take spinlocks.
> * sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h: Use kernel helpers
> unconditionally.
Hmm, this bit doesn't apply to ports HEAD. I think we had some
unsubmitted patches relating to SMP...
--
Daniel Jacobowitz
CodeSourcery