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: Fri, 07 Nov 2014 17:06:01 +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 #35 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 9fba46fff61c04bb1ec8bec9ab51202ee6e1b2e4 (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9fba46fff61c04bb1ec8bec9ab51202ee6e1b2e4
commit 9fba46fff61c04bb1ec8bec9ab51202ee6e1b2e4
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date: Wed Aug 20 15:50:58 2014 -0400
PowerPC: abort transaction in syscalls
Linux kernel powerpc documentation states issuing a syscall inside a
transaction is not recommended and may lead to undefined behavior. It
also states syscalls does not abort transactoin neither they run in
transactional state.
To avoid side-effects being visible outside transactions, GLIBC with lock
elision enable issues a transaction abort instruction just before all
syscalls if hardware supports hardware transactions.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7cb8358e83af829ba2756182d7d5a25ebb292fac
commit 7cb8358e83af829ba2756182d7d5a25ebb292fac
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date: Wed Jun 25 15:13:46 2014 -0400
PowerPC: Add adaptive elision to rwlocks
This patch adds support for lock elision using ISA 2.07 hardware
transactional memory for rwlocks.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=486e99da18df01e8cabbcaa578fcb6402c479a54
commit 486e99da18df01e8cabbcaa578fcb6402c479a54
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date: Fri Mar 21 08:26:59 2014 -0400
PowerPC: Adjusting LE mutex destroy
This patch adjust the pthread_mutex_t destroy to take acocunt of lock
elision.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f4335e87a7d5e2339123fbeaa0ef2f8f7797e6d4
commit f4335e87a7d5e2339123fbeaa0ef2f8f7797e6d4
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=585a5fbda268d5ed265c5ecd81607c54864471ca
commit 585a5fbda268d5ed265c5ecd81607c54864471ca
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date: Wed Aug 20 15:57:10 2014 -0400
PowerPC: Add the low level infrastructure for pthreads lock elision
This patch adds support for lock elision using ISA 2.07 hardware
transactional memory instructions.
-----------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.