git-jemalloc2
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 30 Jan 2024 18:20:04 +0000 (19:20 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 30 Jan 2024 18:20:04 +0000 (19:20 +0100)
commit63d4889d5cf4e1918e3d88b559a34dba21e417aa
tree7b301c2f9129641fc12af43ac3f00443d8abdddd
parent8b32b3d65e1533a7f2b739adc462f3b6992ed67c
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