This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/16657] Lock elision breaks pthread_mutex_destroy
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 21 Jul 2014 20:43:28 +0000
- Subject: [Bug nptl/16657] Lock elision breaks pthread_mutex_destroy
- Auto-submitted: auto-generated
- References: <bug-16657-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16657
--- Comment #26 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, azanella/lockelision-ppc has been created
at 58c786666e06b4d31f6d69ba846d2302e4f5af4c (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=58c786666e06b4d31f6d69ba846d2302e4f5af4c
commit 58c786666e06b4d31f6d69ba846d2302e4f5af4c
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date: Wed Jun 25 15:13:46 2014 -0400
PowerPC: Add adaptive elision to rwlocks
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=afc0f998d1840d3239ed794cd58b771a4287eb28
commit afc0f998d1840d3239ed794cd58b771a4287eb28
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date: Fri Mar 21 08:26:59 2014 -0400
PowerPC: Adjusting LE mutex destroy
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e47e7d86ac678ee4293da4295198a7eb45ecef01
commit e47e7d86ac678ee4293da4295198a7eb45ecef01
Author: Andreas Schwab <schwab@suse.de>
Date: Thu Mar 27 16:50:04 2014 -0400
Skip checks in pthread_mutex_destroy when doing elision
When doing elisison the __nusers field is not updated, thus can have an
arbitrary value.
[BZ #16657]
* nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Skip
checks when doing elision.
* nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_destroy.c: New
* file.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=552210e08eff6b757356dfc120c05ec1417179ef
commit 552210e08eff6b757356dfc120c05ec1417179ef
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date: Fri Dec 13 15:59:35 2013 -0500
PowerPC: Add the low level infrastructure for pthreads lock elision
-----------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.