[PATCHv2] powerpc: Fix usage of elision transient failure adapt param

Tulio Magno Quites Machado Filho tuliom@linux.vnet.ibm.com
Tue Oct 27 19:35:00 GMT 2015


"Paul E. Murphy" <murphyp@linux.vnet.ibm.com> writes:

> This is now rebased around Tulio's fix for elide.h: 
> http://patchwork.sourceware.org/patch/8413/
>
> Changes are fairly trivial. Note, attempt goes from
> try_tbegin towards 0, but not to 0.
>
> ---
> 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.
>
> 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
> 	* 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

I added a reference to bug #19174 and pushed it as 72f1463.

Thanks!

-- 
Tulio Magno



More information about the Libc-alpha mailing list