aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-11-17 13:36:17 -0800
committerJason Evans <jasone@canonware.com>2016-12-26 17:59:34 -0800
commitc1baa0a9b7b05ebf98221dc7deb12c28e170a399 (patch)
treec750107c4d3da8bc4222961866267e2939fb6241 /INSTALL
parenteab3b180e59d6b23fee5fd2165f96402e7341cba (diff)
downloadplatform_external_jemalloc_new-c1baa0a9b7b05ebf98221dc7deb12c28e170a399.tar.gz
platform_external_jemalloc_new-c1baa0a9b7b05ebf98221dc7deb12c28e170a399.tar.bz2
platform_external_jemalloc_new-c1baa0a9b7b05ebf98221dc7deb12c28e170a399.zip
Add huge page configuration and pages_[no}huge().
Add the --with-lg-hugepage configure option, but automatically configure LG_HUGEPAGE even if it isn't specified. Add the pages_[no]huge() functions, which toggle huge page state via madvise(..., MADV_[NO]HUGEPAGE) calls.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL5
1 files changed, 5 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 6e593219..d7496612 100644
--- a/INSTALL
+++ b/INSTALL
@@ -227,6 +227,11 @@ any of the following arguments (not a definitive list) to 'configure':
--with-lg-page, but its primary use case is for integration with FreeBSD's
libc, wherein jemalloc is embedded.
+--with-lg-hugepage=<lg-hugepage>
+ Specify the base 2 log of the system huge page size. This option is useful
+ when cross compiling, or when overriding the default for systems that do
+ not explicitly support huge pages.
+
--with-lg-size-class-group=<lg-size-class-group>
Specify the base 2 log of how many size classes to use for each doubling in
size. By default jemalloc uses <lg-size-class-group>=2, which results in