bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for e


From: Paul Eggert
Subject: bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems
Date: Sun, 20 Dec 2015 18:37:35 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Rich Felker wrote:
I don't object to this change if you can reliably ensure that nothing
in the pre-dump emacs will call malloc.

We can't reliably ensure that, I'm afraid, as Emacs might call some library function that in turn calls malloc. It might be a 3rd-party library that Emacs has no control over.

Why can't pre-dump emacs call malloc? Is it a performance thing or a correctness thing? If a performance thing it shouldn't be much of a problem, as we can arrange for Emacs to never directly call malloc, and that should be the vast majority of the calls.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]