From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6169 invoked by alias); 25 Aug 2014 13:05:54 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 5936 invoked by uid 55); 25 Aug 2014 13:05:50 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug nptl/16657] Lock elision breaks pthread_mutex_destroy Date: Mon, 25 Aug 2014 13:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: 2.18 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg00098.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16657 --- Comment #29 from 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 60027c63e2110612cd3b05a32c89c299a8e20a3a (commit) - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=60027c63e2110612cd3b05a32c89c299a8e20a3a commit 60027c63e2110612cd3b05a32c89c299a8e20a3a Author: Adhemerval Zanella 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=f173d8d0dfb557c50c5d8bf26755716a444e2e0d commit f173d8d0dfb557c50c5d8bf26755716a444e2e0d Author: Adhemerval Zanella 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=1fef4f021fe32317095e2bf936d54d530290d055 commit 1fef4f021fe32317095e2bf936d54d530290d055 Author: Adhemerval Zanella 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=29e18b25d1b574bcaeb7422ec8b103e3463ba7b4 commit 29e18b25d1b574bcaeb7422ec8b103e3463ba7b4 Author: Andreas Schwab 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=247cf3825e280047de915f3dab767cae02c7cf98 commit 247cf3825e280047de915f3dab767cae02c7cf98 Author: Adhemerval Zanella 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.