glibc/sysdeps/tile/nptl
Andi Kleen 8491ed6d70 Add adaptive elision to rwlocks
This patch relies on the C version of the rwlocks posted earlier.
With C rwlocks it is very straight forward to do adaptive elision
using TSX. It is based on the infrastructure added earlier
for mutexes, but uses its own elision macros. The macros
are fairly general purpose and could be used for other
elision purposes too.

This version is much cleaner than the earlier assembler based
version, and in particular implements adaptation which makes
it safer.

I changed the behavior slightly to not require any changes
in the test suite and fully conform to all expected
behaviors (generally at the cost of not eliding in
various situations). In particular this means the timedlock
variants are not elided.  Nested trylock aborts.
2014-06-13 13:15:28 -07:00
..
bits Add adaptive elision to rwlocks 2014-06-13 13:15:28 -07:00
Makefile Move tilegx, tilepro, and linux-generic from ports to libc. 2014-02-10 11:04:39 -05:00
pthread_spin_lock.c Move tilegx, tilepro, and linux-generic from ports to libc. 2014-02-10 11:04:39 -05:00
pthread_spin_trylock.c Move tilegx, tilepro, and linux-generic from ports to libc. 2014-02-10 11:04:39 -05:00
pthread_spin_unlock.c Move tilegx, tilepro, and linux-generic from ports to libc. 2014-02-10 11:04:39 -05:00
pthreaddef.h Clean up __exit_thread. 2014-05-13 09:49:20 -07:00
tcb-offsets.sym Move tilegx, tilepro, and linux-generic from ports to libc. 2014-02-10 11:04:39 -05:00
tls.h Tile: Define TLS_DEFINE_INIT_TP 2014-06-11 12:25:27 -07:00