]> sourceware.org Git - glibc.git/commit
S/390: Port of lock elision to System/z
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Fri, 9 May 2014 14:58:46 +0000 (16:58 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 9 May 2014 14:58:46 +0000 (16:58 +0200)
commit5a414ff70c3a45e52b5f5c0741bd459a84cf56b8
tree036ad6a707ea587149cb057f3e41b7bdd086cbdd
parentf63c86fed0ddf38f53de486c5ec537455c00bd52
S/390: Port of lock elision to System/z

Added support for TX lock elision of pthread mutexes on s390 and
s390x.  This may improve lock scaling of existing programs on TX
capable systems.  The lock elision code is only built with
--enable-lock-elision=yes and then requires a GCC version supporting
the TX builtins.  With lock elision default mutexes are elided via
__builtin_tbegin, if the cpu supports transactions. By default lock
elision is not enabled and the elision code is not built.
21 files changed:
ChangeLog
NEWS
config.make.in
configure
configure.ac
nptl/sysdeps/unix/sysv/linux/s390/Makefile [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/s390/force-elision.h [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h
nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c [new file with mode: 0644]
sysdeps/s390/configure
sysdeps/s390/configure.ac
This page took 0.047947 seconds and 5 git commands to generate.