glibc/sysdeps
Stefan Liebler 03b007771b S390: Adjust lock elision code after review.
This patch adjusts s390 specific lock elision code after review
of the following patches:
-S390: Use own tbegin macro instead of __builtin_tbegin.
(8bfc4a2ab4)
-S390: Use new __libc_tbegin_retry macro in elision-lock.c.
(53c5c3d5ac)
-S390: Optimize lock-elision by decrementing adapt_count at unlock.
(dd037fb3df)

The futex value is not tested before starting a transaction,
__glibc_likely is used instead of __builtin_expect and comments
are adjusted.

ChangeLog:

	* sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
	* sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
	(__lll_lock_elision): Do not test futex before starting a
	transaction.  Use __glibc_likely instead of __builtin_expect.
	* sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
	(__lll_trylock_elision): Do not test futex before starting a
	transaction.  Use __glibc_likely instead of __builtin_expect.
2017-01-20 09:53:04 +01:00
..
aarch64 New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
alpha Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
arm Fix ARM fpu_control.h for assemblers requiring VFP insn names (bug 21047). 2017-01-19 00:05:34 +00:00
generic Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
gnu Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
hppa New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
i386 Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
ia64 New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
ieee754 Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
init_array Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
m68k New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
mach Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
microblaze New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
mips New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
nacl Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nios2 New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
nptl Clear list of acquired robust mutexes in the child process after forking. 2017-01-13 17:17:38 +01:00
posix Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
powerpc powerpc: Regenerate ULPs 2017-01-13 09:36:46 -02:00
pthread Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s390 New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
sh New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
sparc New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
tile tile: Check for pointer add overflow in memchr 2017-01-16 15:44:48 -05:00
unix S390: Adjust lock elision code after review. 2017-01-20 09:53:04 +01:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
x86 New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
x86_64 Fix x86 strncat optimized implementation for large sizes 2017-01-03 14:24:53 -02:00