diff options
author | Paul Murphy <murphyp@linux.vnet.ibm.com> | 2015-08-27 09:48:04 -0500 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2015-10-27 17:27:41 -0200 |
commit | 72f1463df85a522bfd1568e47bd81371522ee358 (patch) | |
tree | a257dcbec150b619574c29326f89ee10d013891f /termios | |
parent | 76c5ae00284d98f1994434c570bdcde9dbc6b49e (diff) | |
download | glibc-72f1463df85a522bfd1568e47bd81371522ee358.zip glibc-72f1463df85a522bfd1568e47bd81371522ee358.tar.gz glibc-72f1463df85a522bfd1568e47bd81371522ee358.tar.bz2 |
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 'termios')
0 files changed, 0 insertions, 0 deletions