This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/16657] Lock elision breaks pthread_mutex_destroy


https://sourceware.org/bugzilla/show_bug.cgi?id=16657

--- Comment #29 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  60027c63e2110612cd3b05a32c89c299a8e20a3a (commit)

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=60027c63e2110612cd3b05a32c89c299a8e20a3a

commit 60027c63e2110612cd3b05a32c89c299a8e20a3a
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=f173d8d0dfb557c50c5d8bf26755716a444e2e0d

commit f173d8d0dfb557c50c5d8bf26755716a444e2e0d
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=1fef4f021fe32317095e2bf936d54d530290d055

commit 1fef4f021fe32317095e2bf936d54d530290d055
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=29e18b25d1b574bcaeb7422ec8b103e3463ba7b4

commit 29e18b25d1b574bcaeb7422ec8b103e3463ba7b4
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=247cf3825e280047de915f3dab767cae02c7cf98

commit 247cf3825e280047de915f3dab767cae02c7cf98
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]