diff options
Diffstat (limited to 'mymalloc.h')
-rw-r--r-- | mymalloc.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |