diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-10-26 15:07:07 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-10-26 15:07:07 +0530 |
commit | aceb22c1f59231909777f7d0a6b955adbf7096a2 (patch) | |
tree | c2142a896b04f01fea607401fe06bd6aac0d8376 /malloc | |
parent | c1234e60f975da09764683cddff4ef7e2a21ce78 (diff) | |
download | glibc-aceb22c1f59231909777f7d0a6b955adbf7096a2.zip glibc-aceb22c1f59231909777f7d0a6b955adbf7096a2.tar.gz glibc-aceb22c1f59231909777f7d0a6b955adbf7096a2.tar.bz2 |
Remove references to sbrk to grow/shrink arenas
The manual incorrectly references sbrk as the method used to grow and
shrink heaps and the fact that M_TRIM_THRESHOLD and M_TOP_PAD control
that behavior. In reality, a heap may be grown or shrunk through
multiple methods depending on whether it is the main arena (in which
case sbrk is correct) or not (in which case, there are a number of
strategies including allocating an additional heap to grow an arena
and/or 'mprotect' a region to make it available for allocation).
Remove references to sbrk so that it covers the behavior more
accurately.
* manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
(M_TRIM_THRESHOLD): Likewise.
Diffstat (limited to 'malloc')
0 files changed, 0 insertions, 0 deletions