aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2016-10-26 15:07:07 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2016-10-26 15:07:07 +0530
commitaceb22c1f59231909777f7d0a6b955adbf7096a2 (patch)
treec2142a896b04f01fea607401fe06bd6aac0d8376 /ChangeLog
parentc1234e60f975da09764683cddff4ef7e2a21ce78 (diff)
downloadglibc-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 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b21469..d9dc849 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
+ * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
+ (M_TRIM_THRESHOLD): Likewise.
+
* manual/memory.texi (M_ARENA_TEST): Add documentation.
(M_ARENA_MAX): Likewise.
* malloc/malloc.c: Remove obsolete comment.