aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-04-26 16:26:12 -0700
committerJason Evans <jasone@canonware.com>2017-04-29 09:24:12 -0700
commitb9ab04a191dbcb9246d5180fc7ae822a85861939 (patch)
treeea4a2c8b8fd64b79499ad4680a2989e99e030464 /doc
parentd901a377753cf4c75d2f72f7a692c44f61eac4a4 (diff)
downloadplatform_external_jemalloc_new-b9ab04a191dbcb9246d5180fc7ae822a85861939.tar.gz
platform_external_jemalloc_new-b9ab04a191dbcb9246d5180fc7ae822a85861939.tar.bz2
platform_external_jemalloc_new-b9ab04a191dbcb9246d5180fc7ae822a85861939.zip
Refactor !opt.munmap to opt.retain.
Diffstat (limited to 'doc')
-rw-r--r--doc/jemalloc.xml.in17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in
index 66d8e5df..fa65c39b 100644
--- a/doc/jemalloc.xml.in
+++ b/doc/jemalloc.xml.in
@@ -863,25 +863,26 @@ mallctl("arena." STRINGIFY(MALLCTL_ARENAS_ALL) ".decay",
</para></listitem>
</varlistentry>
- <varlistentry id="opt.munmap">
+ <varlistentry id="opt.retain">
<term>
- <mallctl>opt.munmap</mallctl>
+ <mallctl>opt.retain</mallctl>
(<type>bool</type>)
<literal>r-</literal>
</term>
- <listitem><para>If true, call
+ <listitem><para>If true, retain unused virtual memory for later reuse
+ rather than discarding it by calling
<citerefentry><refentrytitle>munmap</refentrytitle>
- <manvolnum>2</manvolnum></citerefentry> or equivalent rather than
- retaining unused virtual memory (see <link
+ <manvolnum>2</manvolnum></citerefentry> or equivalent (see <link
linkend="stats.retained">stats.retained</link> for related details).
- This option is enabled by default unless it is known to trigger
+ This option is disabled by default unless discarding virtual memory is
+ known to trigger
platform-specific performance problems, e.g. for [64-bit] Linux, which
has a quirk in its virtual memory allocation algorithm that causes
semi-permanent VM map holes under normal jemalloc operation. Although
<citerefentry><refentrytitle>munmap</refentrytitle>
<manvolnum>2</manvolnum></citerefentry> causes issues on 32-bit Linux as
- well, it is not disabled by default due to the practical possibility of
- address space exhaustion.
+ well, retaining virtual memory for 32-bit Linux is disabled by default
+ due to the practical possibility of address space exhaustion.
</para></listitem>
</varlistentry>