aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-11-13 13:09:17 -0800
committerandroid-build-merger <android-build-merger@google.com>2018-11-13 13:09:17 -0800
commita1f7a3bacc8f40496ded614670bb9faa23fa889b (patch)
treef6eccee54714a68db6aedb5cf5163dfa59dfc02b
parente1ad3f0e8b949db1fd9ef1c6cc199cdb18f5103f (diff)
parent75569e30c58d71c4311b90f7605847279df5c5ed (diff)
downloadplatform_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.h5
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