This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]