glibc/sysdeps/unix/sysv/linux/powerpc
Paul Murphy fadd2ad9cc powerpc: Optimize lock elision for pthread_mutex_t
With TLE enabled, the adapt count variable update incurs
an 8% overhead before entering the critical section of an
elided mutex.

Instead, if it is done right after leaving the critical
section, this serialization can be avoided.

This alters the existing behavior of __lll_trylock_elision
as it will only decrement the adapt_count if it successfully
acquires the lock.

	* sysdeps/unix/sysv/linux/powerpc/elision-lock.c
	(__lll_lock_elision): Remove adapt_count decrement...
	* sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
	(__lll_trylock_elision): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
	(__lll_unlock_elision): ... to here. And utilize
	new adapt_count parameter.
	* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
	(__lll_unlock_elision): Update to include adapt_count
	parameter.
	(lll_unlock_elision): Pass pointer to adapt_count
	variable.
2015-10-15 18:56:10 -03:00
..
bits libc-vdso.h place consolidation 2015-04-20 08:51:17 -03:00
powerpc32 Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
powerpc64 Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
sys Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
arch-fork.h Split arch-fork.h from fork.h 2014-05-16 11:17:41 -07:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
dl-brk.S Update. 2002-04-06 01:45:15 +00:00
dl-cache.h Update. 2003-06-25 08:19:44 +00:00
dl-static.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-sysdep.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
elision-conf.c powerpc: Fix Copyright dates and CL entry 2015-01-12 12:58:34 -05:00
elision-conf.h powerpc: Fix Copyright dates and CL entry 2015-01-12 12:58:34 -05:00
elision-lock.c powerpc: Optimize lock elision for pthread_mutex_t 2015-10-15 18:56:10 -03:00
elision-timed.c powerpc: Fix Copyright dates and CL entry 2015-01-12 12:58:34 -05:00
elision-trylock.c powerpc: Optimize lock elision for pthread_mutex_t 2015-10-15 18:56:10 -03:00
elision-unlock.c powerpc: Optimize lock elision for pthread_mutex_t 2015-10-15 18:56:10 -03:00
force-elision.h powerpc: Fix Copyright dates and CL entry 2015-01-12 12:58:34 -05:00
get_clockfreq.c Use inline syscalls for non-cancellable versions 2015-06-04 14:52:34 -03:00
get_timebase_freq.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getdents64.c Update. 2000-08-12 05:14:52 +00:00
getmsg.c Update. 1999-12-21 16:03:22 +00:00
getrlimit64.c * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n 2000-01-27 23:40:48 +00:00
gettimeofday.c libc-vdso.h place consolidation 2015-04-20 08:51:17 -03:00
htm.h powerpc: Fix TABORT encoding for little endian 2015-02-12 05:34:16 -06:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
init-first.c Consolidate gettimeofday across aarch64/s390/tile 2015-05-26 17:03:35 -03:00
ioctl.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
kernel-features.h Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
ldconfig.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ldd-rewrite.sed Update. 2002-09-05 10:28:51 +00:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
libc-start.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
libc-vdso.h Consolidate vDSO macros and usage 2015-05-26 10:10:36 -03:00
lowlevellock.h powerpc: Optimize lock elision for pthread_mutex_t 2015-10-15 18:56:10 -03:00
Makefile powerpc __tls_get_addr call optimization 2015-03-25 15:53:47 +10:30
nldbl-abi.h 2006-01-27 Dwayne Grant McConnell <decimal@us.ibm.com> 2006-01-28 00:15:15 +00:00
oldgetrlimit64.c Update. 2000-08-16 01:40:12 +00:00
profil-counter.h
pt-longjmp.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread_attr_setstack.c PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files. 2014-05-26 11:45:14 -05:00
pthread_attr_setstacksize.c PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files. 2014-05-26 11:45:14 -05:00
pthread_mutex_cond_lock.c powerpc: Fix Copyright dates and CL entry 2015-01-12 12:58:34 -05:00
pthread_mutex_lock.c powerpc: Fix Copyright dates and CL entry 2015-01-12 12:58:34 -05:00
pthread_mutex_timedlock.c powerpc: Fix Copyright dates and CL entry 2015-01-12 12:58:34 -05:00
pthread_mutex_trylock.c powerpc: Fix Copyright dates and CL entry 2015-01-12 12:58:34 -05:00
pthread_spin_unlock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
putmsg.c Update. 1999-12-21 16:03:22 +00:00
readdir64_r.c Update. 2000-08-12 05:14:52 +00:00
readdir64.c Update. 2000-08-12 05:14:52 +00:00
readelflib.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
rt-sysdep.c Update. 2004-04-19 06:19:34 +00:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
syscall.S powerpc: Fix tabort usage in syscalls 2015-08-25 13:45:56 -03:00
syscalls.list Remove __libc_waitpid function name. 2014-11-07 01:27:16 +00:00
sysdep.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
test-gettimebasefreq.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
time.c libc-vdso.h place consolidation 2015-04-20 08:51:17 -03:00
Versions Add version set GLIBC_2.19 for linux/powerpc 2015-08-17 16:21:51 +02:00