This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.17-426-gec4ff04
- From: carlos at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 17 Mar 2013 20:07:00 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.17-426-gec4ff04
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via ec4ff04d23f396e39087e0effd5b8a6c62abca95 (commit)
from 280ea923be8e1f54b0973f3f14efc0bdc4552120 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ec4ff04d23f396e39087e0effd5b8a6c62abca95
commit ec4ff04d23f396e39087e0effd5b8a6c62abca95
Author: Carlos O'Donell <carlos@redhat.com>
Date: Sun Mar 17 16:03:02 2013 -0400
manual: Sort mallopt M_* parameters alphabetically
Sort the mallopt M_* parameters alphabetically and add comments for the
missing paramters.
diff --git a/ChangeLog b/ChangeLog
index 2d19dd9..f7abe05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-17 Carlos O'Donell <carlos@redhat.com>
+
+ * manual/memory.texi (Malloc Tunable Parameters):
+ Sort parameters alphabetically. Add comments for missing entries.
+
2013-03-17 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update.
diff --git a/manual/memory.texi b/manual/memory.texi
index 5b14aa6..0c3d39e 100644
--- a/manual/memory.texi
+++ b/manual/memory.texi
@@ -683,25 +683,21 @@ parameter to be set, and @var{value} the new value to be set. Possible
choices for @var{param}, as defined in @file{malloc.h}, are:
@table @code
-@item M_TRIM_THRESHOLD
-This is the minimum size (in bytes) of the top-most, releasable chunk
-that will cause @code{sbrk} to be called with a negative argument in
-order to return memory to the system.
-@item M_TOP_PAD
-This parameter determines the amount of extra memory to obtain from the
-system when a call to @code{sbrk} is required. It also specifies the
-number of bytes to retain when shrinking the heap by calling @code{sbrk}
-with a negative argument. This provides the necessary hysteresis in
-heap size such that excessive amounts of system calls can be avoided.
+@comment TODO: @item M_ARENA_MAX
+@comment - Document ARENA_MAX env var.
+@comment TODO: @item M_ARENA_TEST
+@comment - Document ARENA_TEST env var.
+@comment TODO: @item M_CHECK_ACTION
+@item M_MMAP_MAX
+The maximum number of chunks to allocate with @code{mmap}. Setting this
+to zero disables all use of @code{mmap}.
@item M_MMAP_THRESHOLD
All chunks larger than this value are allocated outside the normal
heap, using the @code{mmap} system call. This way it is guaranteed
that the memory for these chunks can be returned to the system on
@code{free}. Note that requests smaller than this threshold might still
be allocated via @code{mmap}.
-@item M_MMAP_MAX
-The maximum number of chunks to allocate with @code{mmap}. Setting this
-to zero disables all use of @code{mmap}.
+@comment TODO: @item M_MXFAST
@item M_PERTURB
If non-zero, memory blocks are filled with values depending on some
low order bits of this parameter when they are allocated (except when
@@ -710,6 +706,16 @@ use of uninitialized or freed heap memory. Note that this option does not
guarantee that the freed block will have any specific values. It only
guarantees that the content the block had before it was freed will be
overwritten.
+@item M_TOP_PAD
+This parameter determines the amount of extra memory to obtain from the
+system when a call to @code{sbrk} is required. It also specifies the
+number of bytes to retain when shrinking the heap by calling @code{sbrk}
+with a negative argument. This provides the necessary hysteresis in
+heap size such that excessive amounts of system calls can be avoided.
+@item M_TRIM_THRESHOLD
+This is the minimum size (in bytes) of the top-most, releasable chunk
+that will cause @code{sbrk} to be called with a negative argument in
+order to return memory to the system.
@end table
@end deftypefun
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
manual/memory.texi | 32 +++++++++++++++++++-------------
2 files changed, 24 insertions(+), 13 deletions(-)
hooks/post-receive
--
GNU C Library master sources