diff options
author | Christopher Ferris <cferris@google.com> | 2018-11-13 13:09:17 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-11-13 13:09:17 -0800 |
commit | a1f7a3bacc8f40496ded614670bb9faa23fa889b (patch) | |
tree | f6eccee54714a68db6aedb5cf5163dfa59dfc02b | |
parent | e1ad3f0e8b949db1fd9ef1c6cc199cdb18f5103f (diff) | |
parent | 75569e30c58d71c4311b90f7605847279df5c5ed (diff) | |
download | platform_external_jemalloc_new-a1f7a3bacc8f40496ded614670bb9faa23fa889b.tar.gz platform_external_jemalloc_new-a1f7a3bacc8f40496ded614670bb9faa23fa889b.tar.bz2 platform_external_jemalloc_new-a1f7a3bacc8f40496ded614670bb9faa23fa889b.zip |
Change the minimum map size.
am: 75569e30c5
Change-Id: Ia8eb69bbc660bfe8e5e55a7b1abb0803fa850bec
-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 |