summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-03-01 03:09:23 (GMT)
committerJason Evans <jasone@canonware.com>2017-03-01 03:09:23 (GMT)
commit04380e79f1e2428bd0ad000bbc6e3d2dfc6b66a5 (patch)
tree85f88607465908a7b66ad70d4caca69a0836189f /INSTALL
parentf1f76357313e7dcad7262f17a48ff0a2e005fcdc (diff)
parent700253e1f2f40d4a74e361fa1e688986c361dba4 (diff)
downloadjemalloc-4.5.0.zip
jemalloc-4.5.0.tar.gz
jemalloc-4.5.0.tar.bz2
Merge branch 'rc-4.5.0'4.5.0
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL24
1 files changed, 15 insertions, 9 deletions
diff --git a/INSTALL b/INSTALL
index cce3ed7..19196ec 100644
--- a/INSTALL
+++ b/INSTALL
@@ -157,6 +157,13 @@ any of the following arguments (not a definitive list) to 'configure':
released in bulk, thus reducing the total number of mutex operations. See
the "opt.tcache" option for usage details.
+--disable-thp
+ Disable transparent huge page (THP) integration. On systems with THP
+ support, THPs are explicitly disabled as a side effect of unused dirty page
+ purging for chunks that back small and/or large allocations, because such
+ chunks typically comprise active, unused dirty, and untouched clean
+ pages.
+
--disable-munmap
Disable virtual memory deallocation via munmap(2); instead keep track of
the virtual memory for later use. munmap() is disabled by default (i.e.
@@ -306,17 +313,16 @@ The following environment variables (not a definitive list) impact configure's
behavior:
CFLAGS="?"
- Pass these flags to the compiler. You probably shouldn't define this unless
- you know what you are doing. (Use EXTRA_CFLAGS instead.)
+ Pass these flags to the C compiler. Any flags set by the configure script
+ are prepended, which means explicitly set flags generally take precedence.
+ Take care when specifying flags such as -Werror, because configure tests may
+ be affected in undesirable ways.
EXTRA_CFLAGS="?"
- Append these flags to CFLAGS. This makes it possible to add flags such as
- -Werror, while allowing the configure script to determine what other flags
- are appropriate for the specified configuration.
-
- The configure script specifically checks whether an optimization flag (-O*)
- is specified in EXTRA_CFLAGS, and refrains from specifying an optimization
- level if it finds that one has already been specified.
+ Append these flags to CFLAGS, without passing them to the compiler during
+ configuration. This makes it possible to add flags such as -Werror, while
+ allowing the configure script to determine what other flags are appropriate
+ for the specified configuration.
CPPFLAGS="?"
Pass these flags to the C preprocessor. Note that CFLAGS is not passed to