aboutsummaryrefslogtreecommitdiff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2016-10-26 15:06:21 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2016-10-26 15:06:21 +0530
commitc1234e60f975da09764683cddff4ef7e2a21ce78 (patch)
tree11bdd7ac29402cbde571f2c90e5fc771dd1723de /malloc/malloc.c
parent2bce30357c8285415eb02019555440db8119ffad (diff)
downloadglibc-c1234e60f975da09764683cddff4ef7e2a21ce78.zip
glibc-c1234e60f975da09764683cddff4ef7e2a21ce78.tar.gz
glibc-c1234e60f975da09764683cddff4ef7e2a21ce78.tar.bz2
Document the M_ARENA_* mallopt parameters
The M_ARENA_* mallopt parameters are in wide use in production to control the number of arenas that a long lived process creates and hence there is no point in stating that this interface is non-public. Document this interface and remove the obsolete comment. * manual/memory.texi (M_ARENA_TEST): Add documentation. (M_ARENA_MAX): Likewise. * malloc/malloc.c: Remove obsolete comment.
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index ef04360..a849901 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1718,7 +1718,6 @@ static struct malloc_par mp_ =
};
-/* Non public mallopt parameters. */
#define M_ARENA_TEST -7
#define M_ARENA_MAX -8