diff options
author | Christopher Ferris <cferris@google.com> | 2018-11-13 13:15:30 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-11-13 13:15:30 -0800 |
commit | a2f01810502bb35f7e6c77746170996e50836030 (patch) | |
tree | f6eccee54714a68db6aedb5cf5163dfa59dfc02b | |
parent | 3bff253f72200eba7251736062440bd7332bea1c (diff) | |
parent | a1f7a3bacc8f40496ded614670bb9faa23fa889b (diff) | |
download | platform_external_jemalloc_new-a2f01810502bb35f7e6c77746170996e50836030.tar.gz platform_external_jemalloc_new-a2f01810502bb35f7e6c77746170996e50836030.tar.bz2 platform_external_jemalloc_new-a2f01810502bb35f7e6c77746170996e50836030.zip |
Change the minimum map size. am: 75569e30c5
am: a1f7a3bacc
Change-Id: I8082c1358c87a0092ed6e4c30739104a4c47676a
-rw-r--r-- | include/jemalloc/internal/jemalloc_internal_defs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h b/include/jemalloc/internal/jemalloc_internal_defs.h index 15886468..c76953ad 100644 --- a/include/jemalloc/internal/jemalloc_internal_defs.h +++ b/include/jemalloc/internal/jemalloc_internal_defs.h @@ -215,7 +215,12 @@ * system does not explicitly support huge pages; system calls that require * explicit huge page support are separately configured. */ +/* ANDROID NOTE: This determines how big a default map'd page is. */ +#if !defined(__LP64__) +#define LG_HUGEPAGE 20 +#else #define LG_HUGEPAGE 21 +#endif /* * If defined, adjacent virtual memory mappings with identical attributes |