From ac3ed168d0c0b2b702319ac0db72c9b475a8c72e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 30 Aug 2017 19:29:38 +0200 Subject: malloc: Remove check_action variable [BZ #21754] Clean up calls to malloc_printerr and trim its argument list. This also removes a few bits of work done before calling malloc_printerr (such as unlocking operations). The tunable/environment variable still enables the lightweight additional malloc checking, but mallopt (M_CHECK_ACTION) no longer has any effect. --- manual/memory.texi | 1 - manual/probes.texi | 7 ------- 2 files changed, 8 deletions(-) (limited to 'manual') diff --git a/manual/memory.texi b/manual/memory.texi index 13cce7a..51a5f4e 100644 --- a/manual/memory.texi +++ b/manual/memory.texi @@ -1104,7 +1104,6 @@ When calling @code{mallopt}, the @var{param} argument specifies the 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: -@comment TODO: @item M_CHECK_ACTION @vtable @code @item M_MMAP_MAX The maximum number of chunks to allocate with @code{mmap}. Setting this diff --git a/manual/probes.texi b/manual/probes.texi index 96acaed..8ab6756 100644 --- a/manual/probes.texi +++ b/manual/probes.texi @@ -195,13 +195,6 @@ this @code{malloc} parameter, and @var{$arg3} is nonzero if dynamic threshold adjustment was already disabled. @end deftp -@deftp Probe memory_mallopt_check_action (int @var{$arg1}, int @var{$arg2}) -This probe is triggered shortly after the @code{memory_mallopt} probe, -when the parameter to be changed is @code{M_CHECK_ACTION}. Argument -@var{$arg1} is the requested value, and @var{$arg2} is the previous -value of this @code{malloc} parameter. -@end deftp - @deftp Probe memory_mallopt_perturb (int @var{$arg1}, int @var{$arg2}) This probe is triggered shortly after the @code{memory_mallopt} probe, when the parameter to be changed is @code{M_PERTURB}. Argument -- cgit v1.1