This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: BZ 20822 :powerpc: race condition in __lll_unlock_elision
- From: Rajalakshmi Srinivasaraghavan <raji at linux dot vnet dot ibm dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, Szabolcs Nagy <szabolcs dot nagy at arm dot com>, libc-alpha at sourceware dot org
- Cc: nd at arm dot com, aaron Sawdey <acsawdey at linux dot vnet dot ibm dot com>, Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>, Steve Munroe <sjmunroe at us dot ibm dot com>, carlos at redhat dot com, adconrad at ubuntu dot com, wschmidt at linux dot vnet dot ibm dot com
- Date: Wed, 16 Nov 2016 21:24:11 +0530
- Subject: Re: BZ 20822 :powerpc: race condition in __lll_unlock_elision
- Authentication-results: sourceware.org; auth=none
- References: <f777eebe-4a7b-87d2-1281-ab605c7fce8b@linux.vnet.ibm.com> <113d3633-4425-4a56-492e-6aab3b75de2d@linaro.org> <582C6835.3060502@arm.com> <52ae783b-cbf6-9393-479e-9167e68d5277@linaro.org>
On 11/16/2016 08:01 PM, Adhemerval Zanella wrote:
nyway, I see the correct fix to just just move the adapt_count
to inside the transaction.
Thanks Adhemerval and Szabolcs for the inputs.
I posted a patch in libc-alpha for the same. While this is moving, I will
try to analyze the performance impact, if any.