diff options
author | Jason Evans <je@fb.com> | 2013-12-20 05:40:41 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2013-12-20 05:40:41 (GMT) |
commit | d8a390020c4750a9c5f3d9780e21bfc2b0d64cdf (patch) | |
tree | 48da6898c90adc48b0d2e9b0225fc4fd39c7dde9 /doc | |
parent | de73296d6b56abe70b08654342e136c2612d1dbd (diff) | |
download | jemalloc-d8a390020c4750a9c5f3d9780e21bfc2b0d64cdf.zip jemalloc-d8a390020c4750a9c5f3d9780e21bfc2b0d64cdf.tar.gz jemalloc-d8a390020c4750a9c5f3d9780e21bfc2b0d64cdf.tar.bz2 |
Fix a few mallctl() documentation errors.
Normalize mallctl() order (code and documentation).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/jemalloc.xml.in | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in index 2740c82..5fc7653 100644 --- a/doc/jemalloc.xml.in +++ b/doc/jemalloc.xml.in @@ -924,19 +924,6 @@ for (i = 0; i < nbins; i++) { </para></listitem> </varlistentry> - <varlistentry id="opt.lg_chunk"> - <term> - <mallctl>opt.lg_chunk</mallctl> - (<type>size_t</type>) - <literal>r-</literal> - </term> - <listitem><para>Virtual memory chunk size (log base 2). If a chunk - size outside the supported size range is specified, the size is - silently clipped to the minimum/maximum supported size. The default - chunk size is 4 MiB (2^22). - </para></listitem> - </varlistentry> - <varlistentry id="opt.dss"> <term> <mallctl>opt.dss</mallctl> @@ -948,7 +935,23 @@ for (i = 0; i < nbins; i++) { related to <citerefentry><refentrytitle>mmap</refentrytitle> <manvolnum>2</manvolnum></citerefentry> allocation. The following settings are supported: “disabled”, “primary”, - and “secondary” (default).</para></listitem> + and “secondary”. The default is “secondary” if + <link linkend="config.dss"><mallctl>config.dss</mallctl></link> is + true, “disabled” otherwise. + </para></listitem> + </varlistentry> + + <varlistentry id="opt.lg_chunk"> + <term> + <mallctl>opt.lg_chunk</mallctl> + (<type>size_t</type>) + <literal>r-</literal> + </term> + <listitem><para>Virtual memory chunk size (log base 2). If a chunk + size outside the supported size range is specified, the size is + silently clipped to the minimum/maximum supported size. The default + chunk size is 4 MiB (2^22). + </para></listitem> </varlistentry> <varlistentry id="opt.narenas"> @@ -1197,7 +1200,7 @@ malloc_conf = "xmalloc:true";]]></programlisting> <term> <mallctl>opt.prof_active</mallctl> (<type>bool</type>) - <literal>r-</literal> + <literal>rw</literal> [<option>--enable-prof</option>] </term> <listitem><para>Profiling activated/deactivated. This is a secondary @@ -1819,9 +1822,9 @@ malloc_conf = "xmalloc:true";]]></programlisting> similar calls made to purge dirty pages.</para></listitem> </varlistentry> - <varlistentry id="stats.arenas.i.npurged"> + <varlistentry id="stats.arenas.i.purged"> <term> - <mallctl>stats.arenas.<i>.npurged</mallctl> + <mallctl>stats.arenas.<i>.purged</mallctl> (<type>uint64_t</type>) <literal>r-</literal> [<option>--enable-stats</option>] |