glibc/sysdeps/unix
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
..
alpha alpha: Fix __pointer_chk_guard definition for the testsuite 2014-04-16 21:35:27 -07:00
arm Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
bsd Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
i386 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
inet Move nss directory into sysdeps Subdirs. 2013-02-05 14:32:48 -08:00
mips Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
powerpc Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sh Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sysv/linux Add adaptive elision to rwlocks 2014-06-13 13:15:28 -07:00
x86_64 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
clock_gettime.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
clock_nanosleep.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
clock_settime.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
confstr.h initial import 1995-02-18 01:27:10 +00:00
get_child_max.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getlogin_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getlogin.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getpagesize.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
grantpt.c Fix macro warning on HAVE_PT_CHOWN 2014-05-14 09:46:54 +02:00
ifreq.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Implies initial import 1995-02-18 01:27:10 +00:00
make-syscalls.sh don't use Bash-specific ${parameter/pattern/string} expansion 2013-09-28 23:03:09 -04:00
Makefile Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s-proto-cancel.S * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d. 2002-12-30 00:12:56 +00:00
s-proto.S Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-01-19 00:42:21 +00:00
setxid.h Update. 2004-11-12 01:27:04 +00:00
sockatmark.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
stime.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Subdirs Update. 1997-08-10 18:37:15 +00:00
syscall-template.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
syscall.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
syscalls.list Name space hygeine for madvise. 2012-10-04 16:31:43 -07:00
sysdep.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00