diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-05-13 14:16:39 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-05-13 14:16:39 +0200 |
commit | 4cf6c72fd2a482e7499c29162349810029632c3f (patch) | |
tree | 4c6a45d1e76bb4eb1afdfb39cf96a2b2c5751753 /sysdeps/x86/cacheinfo.c | |
parent | 567c710bcad634bc94a21f00b9e1c24ca9f9f57c (diff) | |
download | glibc-4cf6c72fd2a482e7499c29162349810029632c3f.tar glibc-4cf6c72fd2a482e7499c29162349810029632c3f.tar.gz glibc-4cf6c72fd2a482e7499c29162349810029632c3f.tar.bz2 glibc-4cf6c72fd2a482e7499c29162349810029632c3f.zip |
malloc: Rewrite dumped heap for compatibility in __malloc_set_state
This will allow us to change many aspects of the malloc implementation
while preserving compatibility with existing Emacs binaries.
As a result, existing Emacs binaries will have a larger RSS, and Emacs
needs a few more milliseconds to start. This overhead is specific
to Emacs (and will go away once Emacs switches to its internal malloc).
The new checks to make free and realloc compatible with the dumped heap
are confined to the mmap paths, which are already quite slow due to the
munmap overhead.
This commit weakens some security checks, but only for heap pointers
in the dumped main arena. By default, this area is empty, so those
checks are as effective as before.
Diffstat (limited to 'sysdeps/x86/cacheinfo.c')
0 files changed, 0 insertions, 0 deletions