Document M_PERTURB

This commit is contained in:
Andreas Schwab 2010-07-26 15:28:15 +02:00
parent 932ac045f0
commit deb9cabbf4
2 changed files with 10 additions and 0 deletions

View File

@ -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]

View 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