NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/31112

The following reply was made to PR lib/31112; it has been noted by GNATS.

From: Jukka Ruohonen <>
Subject: Re: lib/31112
Date: Fri, 22 May 2009 11:55:52 +0300

 I wonder if the following small addition would be sufficient as a general
 It would be difficult to document all potential consequences from tuning the
 behavior of malloc().
 Index: malloc.3
 RCS file: /cvsroot/src/lib/libc/stdlib/malloc.3,v
 retrieving revision 1.26
 diff -u -p -r1.26 malloc.3
 --- malloc.3   15 Oct 2007 11:18:44 -0000      1.26
 +++ malloc.3   22 May 2009 08:50:08 -0000
 @@ -234,7 +234,8 @@ and
  .Dq Z
  options are intended for testing and debugging.
  An application which changes its behavior when these options are used
 -is flawed.
 +is flawed. Extra care should be taken in case any of these flags is set on
 +production machines.
  This allocator uses multiple arenas in order to reduce lock contention for
  threaded programs on multi-processor systems.

Home | Main Index | Thread Index | Old Index