glibc/sysdeps/unix/sysv/linux/s390
Stefan Liebler c813dae5d8 S390: Use C11-like atomics instead of plain memory accesses in lock elision code.
This uses atomic operations to access lock elision metadata that is accessed
concurrently (ie, adapt_count fields).  The size of the data is less than a
word but accessed only with atomic loads and stores.

See also x86 commit ca6e601a9d:
"Use C11-like atomics instead of plain memory accesses in x86 lock elision."

ChangeLog:

	* sysdeps/unix/sysv/linux/s390/elision-lock.c
	(__lll_lock_elision): Use atomics to load / store adapt_count.
	* sysdeps/unix/sysv/linux/s390/elision-trylock.c
	(__lll_trylock_elision): Likewise.
2016-12-20 15:12:48 +01:00
..
bits Consolidate Linux setrlimit and getrlimit implementation 2016-11-17 15:54:22 -02:00
fpu
s390-32 Add fmaxmag, fminmag functions. 2016-12-20 00:46:53 +00:00
s390-64 Add fmaxmag, fminmag functions. 2016-12-20 00:46:53 +00:00
sys Minor correction to the "installed header hygiene" patches. 2016-09-28 07:19:59 -04:00
arch-fork.h
brk.c
configure
configure.ac
dl-cache.h
dl-procinfo.h
elision-conf.c
elision-conf.h
elision-lock.c S390: Use C11-like atomics instead of plain memory accesses in lock elision code. 2016-12-20 15:12:48 +01:00
elision-timed.c
elision-trylock.c S390: Use C11-like atomics instead of plain memory accesses in lock elision code. 2016-12-20 15:12:48 +01:00
elision-unlock.c
force-elision.h
Implies
init-first.c S390: Add support for vdso getcpu symbol. 2016-05-09 11:05:45 +02:00
jmp-unwind.c
kernel-features.h Adjust kernel-features.h defaults for recvmsg and sendmsg 2016-05-25 17:27:57 -03:00
ldconfig.h
ldd-rewrite.sed
libanl.abilist
libc-vdso.h S390: Add support for vdso getcpu symbol. 2016-05-09 11:05:45 +02:00
localplt.data ld.so: Remove __libc_memalign 2016-11-30 16:23:58 +01:00
longjmp_chk.c
lowlevellock.h
Makefile Do not override objects in libc.a in other static libraries [BZ #20452] 2016-08-17 14:57:01 +02:00
nldbl-abi.h
opensock.c
pt-longjmp.c Use libc_ifunc macro for siglongjmp, longjmp in libpthread. 2016-10-07 10:12:48 +02:00
pt-vfork.S
pthread_mutex_cond_lock.c
pthread_mutex_lock.c
pthread_mutex_timedlock.c
pthread_mutex_trylock.c
readelflib.c
rt-sysdep.S
sa_len.c
semtimedop.c
sigcontextinfo.h
sysconf.c
system.c
ucontext_i.sym
Versions