about summary refs log tree commit homepage
path: root/mymalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'mymalloc.h')
-rw-r--r--mymalloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mymalloc.h b/mymalloc.h
index ccf7ede..7b18486 100644
--- a/mymalloc.h
+++ b/mymalloc.h
@@ -29,6 +29,9 @@
 #include <fcntl.h>
 #include <errno.h>
 
+/* this is fine on most x86-64, especially with file-backed mmap(2) */
+#define DEFAULT_GRANULARITY (64U * 1024U * 1024U)
+
 #if !defined(MWRAP_FILE_BACKED) && defined(__linux__) && defined(O_TMPFILE)
 #        define MWRAP_FILE_BACKED 1
 #else