Restore dlmalloc mmap threshold to 64k
Restoring DEFAULT_MMAP_THRESHOLD to 64k, the way it was before 999089181ef60bb67e1a49f2cf6f4ec608a7caf8. This forces allocations in the 64k-256k range to be mmaped. Change-Id: Iace55ed638edd272b3e94fa6cd2ddd349042be84 Signed-off-by: Rom Lemarchand <romlem@google.com>
This commit is contained in:
parent
6fe4a58f84
commit
d0f2a6014c
@ -27,6 +27,7 @@
|
||||
#define LOCK_AT_FORK 1
|
||||
#define USE_RECURSIVE_LOCK 0
|
||||
#define USE_SPIN_LOCKS 0
|
||||
#define DEFAULT_MMAP_THRESHOLD (64U * 1024U)
|
||||
|
||||
/* Include the proper definitions. */
|
||||
#include "../upstream-dlmalloc/malloc.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user