diff options
author | Jason Evans <jasone@canonware.com> | 2012-12-23 16:51:48 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2012-12-23 16:51:48 (GMT) |
commit | 1bf2743e08ba66cc141e296812839947223e4370 (patch) | |
tree | d2dd57a56d366213be4ca1ef033bdfd7c7e87931 /doc | |
parent | 1271185b87fcf54afb37dc05e7e0c58e5fb8f06a (diff) | |
download | jemalloc-1bf2743e08ba66cc141e296812839947223e4370.zip jemalloc-1bf2743e08ba66cc141e296812839947223e4370.tar.gz jemalloc-1bf2743e08ba66cc141e296812839947223e4370.tar.bz2 |
Add clipping support to lg_chunk option processing.
Modify processing of the lg_chunk option so that it clips an
out-of-range input to the edge of the valid range. This makes it
possible to request the minimum possible chunk size without intimate
knowledge of allocator internals.
Submitted by Ian Lepore (see FreeBSD PR bin/174641).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/jemalloc.xml.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in index 54b8747..0930580 100644 --- a/doc/jemalloc.xml.in +++ b/doc/jemalloc.xml.in @@ -790,8 +790,11 @@ for (i = 0; i < nbins; i++) { (<type>size_t</type>) <literal>r-</literal> </term> - <listitem><para>Virtual memory chunk size (log base 2). The default - chunk size is 4 MiB (2^22).</para></listitem> + <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"> |