malloc: performance improvements and bugfixes
Florian Weimer
fweimer@redhat.com
Tue Jan 26 22:02:00 GMT 2016
On 01/26/2016 10:59 PM, Jörn Engel wrote:
> On Tue, Jan 26, 2016 at 10:40:50PM +0100, Florian Weimer wrote:
>> On 01/26/2016 09:50 PM, Steven Munroe wrote:
>>
>>> So why not fix emacs to stop doing this (purely evil behavior).
>>>
>>> If they want to persist their internal state from session to session
>>> there are better ways. For example: https://sphde.github.io/
>>
>> It's complicated, but not just for the technical challenges involved.
>> My warning to the Emacs developers that we are going to clean this up on
>> the glibc side was not universally well-received.
>
> One option is to do something like
>
> #define USE_NEW_MALLOC
> #include <stdlib.h>
This is not an option because we would have to prevent all libraries
which Emacs links against from doing this (recursively). This does not
work.
And we don't want to maintain two mallocs inside glibc.
Florian
More information about the Libc-alpha
mailing list