On 03.02.2020 17:21, Joerg Sonnenberger wrote: > On Sat, Feb 01, 2020 at 03:38:46PM +0000, Kamil Rytarowski wrote: >> Module Name: src >> Committed By: kamil >> Date: Sat Feb 1 15:38:46 UTC 2020 >> >> Modified Files: >> src/lib/libc/gen: pthread_atfork.c >> >> Log Message: >> Switch atform allocations from malloc()+free() to mmap()+munmap() >> >> This avoid bootstrapping malloc too early when libc+libpthread are not >> ready. It is called through pthread__init() -> _pthread_atfork(). >> >> This also helps LLVM Leak Sanitizer to pacify false positive reports. > > Can we please stop adding more and more hacks for the still questionable > "new" jemalloc and sit down for a sane init model first please? I'm > still at the point to ask to just revert to the known-to-be-working > version and therefore would also strongly prefer this change to be > reverted. > > Joerg > This change was reverted as there was a fallout. Init model is sane except for pthread_atfork()+malloc() called prematurely in pthread__init().
Attachment:
signature.asc
Description: OpenPGP digital signature