This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Revert to default atomic ops in elision code
- From: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- To: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- Cc: "libc-alpha\ at sourceware dot org" <libc-alpha at sourceware dot org>, Steve Munroe <sjmunroe at us dot ibm dot com>
- Cc:
- Date: Wed, 26 Aug 2015 14:54:54 -0300
- Subject: Re: [PATCH] powerpc: Revert to default atomic ops in elision code
- Authentication-results: sourceware.org; auth=none
- References: <55CD0A41 dot 6000002 at linux dot vnet dot ibm dot com>
"Paul E. Murphy" <murphyp@linux.vnet.ibm.com> writes:
> Power ISA 2.07B section B.5.5 relaxed the barrier requirement around a
> TLE enabled lock. It is now identical to a traditional lock.
>
> 2015-08-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
>
> * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
> (__arch_compare_and_exchange_val_32_acq): Remove and use common
> definition. ISA 2.07B no longer requires full sync.
LGTM.
I'm pushing it.
Thanks!
--
Tulio Magno