diff options
| author | Jason Evans <jasone@canonware.com> | 2016-11-17 13:36:17 -0800 |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2016-12-26 17:59:34 -0800 |
| commit | c1baa0a9b7b05ebf98221dc7deb12c28e170a399 (patch) | |
| tree | c750107c4d3da8bc4222961866267e2939fb6241 /INSTALL | |
| parent | eab3b180e59d6b23fee5fd2165f96402e7341cba (diff) | |
| download | platform_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-- | INSTALL | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |
