summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2013-11-26 02:02:35 (GMT)
committerJason Evans <je@fb.com>2013-11-26 02:02:35 (GMT)
commit39e7fd0580a140912fa1170de7a7699c86afe45d (patch)
treee4ff0cdc52c923bdfeb242ab28db0aa98b24165e /doc
parentd6df91438a1cf25ea248c3897da463c51709c580 (diff)
downloadjemalloc-39e7fd0580a140912fa1170de7a7699c86afe45d.zip
jemalloc-39e7fd0580a140912fa1170de7a7699c86afe45d.tar.gz
jemalloc-39e7fd0580a140912fa1170de7a7699c86afe45d.tar.bz2
Fix ALLOCM_ARENA(a) handling in rallocm().
Fix rallocm() to use the specified arena for allocation, not just deallocation. Clarify ALLOCM_ARENA(a) documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/jemalloc.xml.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in
index 8837d34..596f645 100644
--- a/doc/jemalloc.xml.in
+++ b/doc/jemalloc.xml.in
@@ -358,7 +358,7 @@ for (i = 0; i < nbins; i++) {
<listitem><para>Initialize newly allocated memory to contain zero
bytes. In the growing reallocation case, the real size prior to
reallocation defines the boundary between untouched bytes and those
- that are initialized to contain zero bytes. If this option is
+ that are initialized to contain zero bytes. If this macro is
absent, newly allocated memory is uninitialized.</para></listitem>
</varlistentry>
<varlistentry>
@@ -373,9 +373,11 @@ for (i = 0; i < nbins; i++) {
</constant></term>
<listitem><para>Use the arena specified by the index
- <parameter>a</parameter>. This macro does not validate that
- <parameter>a</parameter> specifies an arena in the valid
- range.</para></listitem>
+ <parameter>a</parameter> (and by necessity bypass the thread
+ cache). This macro has no effect for huge regions, nor for regions
+ that were allocated via an arena other than the one specified.
+ This macro does not validate that <parameter>a</parameter>
+ specifies an arena index in the valid range.</para></listitem>
</varlistentry>
</variablelist>
</para>