Document M_PERTURB
authorAndreas Schwab <schwab@redhat.com>
Mon, 26 Jul 2010 13:28:15 +0000 (15:28 +0200)
committerAndreas Schwab <schwab@redhat.com>
Tue, 27 Jul 2010 11:24:49 +0000 (13:24 +0200)
ChangeLog
manual/memory.texi

index 6603a56..a5baf6c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-27  Andreas Schwab  <schwab@redhat.com>
+
+       * manual/memory.texi (Malloc Tunable Parameters): Document
+       M_PERTURB.
+
 2010-07-26  Roland McGrath  <roland@redhat.com>
 
        [BZ #11840]
index 59ea1ee..db63c33 100644 (file)
@@ -702,6 +702,11 @@ 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}.
+@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
+allocated by @code{calloc}) and freed.  This can be used to debug the
+use of uninitialized or freed heap memory.
 @end table
 
 @end deftypefun