Skip to content

Commit

Permalink
Document M_PERTURB
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed Jul 27, 2010
1 parent 932ac04 commit deb9cab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
5 changes: 5 additions & 0 deletions manual/memory.texi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit deb9cab

Please sign in to comment.