* malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit
commite404fb16fc35210219159a446f7c993760a37316
authorUlrich Drepper <drepper@redhat.com>
Tue, 22 Aug 2006 06:19:12 +0000 (22 06:19 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 22 Aug 2006 06:19:12 +0000 (22 06:19 +0000)
treeb111528ec288146613b4cac260bb58372ed47da5
parent376e973ad66993e7b5dbdfd173c399e1af3a1add
* malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit

platforms define as 1MB.  For 64-bit platforms as 32MB.  The lower
limit is needed to avoid the exploding of the address space
requirement for secondary heaps.
* malloc/arena.c (HEAP_MAX_SIZE): Define using
DEFAULT_MMAP_THRESHOLD_MAX if it is defined.
ChangeLog
malloc/arena.c
malloc/malloc.c