git-jemalloc2
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 17 Oct 2023 12:00:24 +0000 (13:00 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 17 Oct 2023 12:00:24 +0000 (13:00 +0100)
commit0608e1d1a9f567a09d122ac0f01801642b67f56a
tree7c38e588d3053ed3711657bd8538c550215a140e
parentd09d696ac21982adb0ae93a0c5f4faba10536e7c
git-jemalloc2

commit 53da64d1cf3694a132287d1ab6e9655031124e32
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Aug 8 12:19:29 2023 +0200

    htl: Initialize ___pthread_self early

    When using jemalloc, malloc() needs to use TSD, while libpthread
    initialization needs malloc(). Having ___pthread_self set early to some
    static storage allows TSD to work early, thus allowing jemalloc and
    libpthread to initialize together.

    This incidentaly simplifies __pthread_enable/disable_asynccancel and
    __pthread_self, now that ___pthread_self is always initialized.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-jemalloc2.diff
htl/cancellation.c
htl/pt-self.c
sysdeps/mach/hurd/htl/pt-sysdep.c