about summary refs log tree commit diff
path: root/benchtests
diff options
context:
space:
mode:
authorPaul Murphy <murphyp@linux.vnet.ibm.com>2015-08-27 09:48:04 -0500
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2015-10-27 17:27:41 -0200
commit72f1463df85a522bfd1568e47bd81371522ee358 (patch)
treea257dcbec150b619574c29326f89ee10d013891f /benchtests
parent76c5ae00284d98f1994434c570bdcde9dbc6b49e (diff)
downloadglibc-72f1463df85a522bfd1568e47bd81371522ee358.tar.gz
glibc-72f1463df85a522bfd1568e47bd81371522ee358.tar.xz
glibc-72f1463df85a522bfd1568e47bd81371522ee358.zip
powerpc: Fix usage of elision transient failure adapt param
The skip_lock_out_of_tbegin_retries adaptive parameter was
not being used correctly, nor as described.  This prevents
a fallback for all users of the lock if a transient abort
occurs within the accepted number of retries.

	[BZ #19174]
	* sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
	.skip_lock_out_of_tbegin_retries.
	* sysdeps/unix/sysv/linux/powerpc/elision-lock.c
	(__lll_lock_elision): Likewise, and respect a value of
	try_tbegin <= 0.
Diffstat (limited to 'benchtests')
0 files changed, 0 insertions, 0 deletions