For glibc's malloc, include <malloc.h> for mallinfo,
authorRichard M. Stallman <rms@gnu.org>
Wed, 9 Apr 1997 03:59:08 +0000 (03:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 9 Apr 1997 03:59:08 +0000 (03:59 +0000)
commitd165822189d59c8272052873803734de19bb929c
tree513ad6aea557fc4c5b3a646e937cac337b1b9b1d
parentb05a95cbefcc974fb7188d787bf2a9c30d3849ca
For glibc's malloc, include <malloc.h> for mallinfo,
mallopt, struct mallinfo, and mallopt constants.
(BYTES_USED): New macro.
(memory_full, emacs_blocked_free): Replace _bytes_used with BYTES_USED.
(emacs_blocked_malloc): Set sbrk padding value for glibc, as is
done with gmalloc.
(allocate_vectorlike, make_uninit_string):
Prevent using mmap for possible large chunks.
(init_alloc_once): Set trim and mmap malloc parms, when using glibc.
src/alloc.c