diff options
Diffstat (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/malloc.3 | 5 | ||||
| -rw-r--r-- | lib/libc/stdlib/malloc.c | 4 | 
2 files changed, 5 insertions, 4 deletions
| diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index ef77e8055e8b..6af08ecbf451 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -34,7 +34,7 @@  .\" SUCH DAMAGE.  .\"  .\"     @(#)malloc.3	8.1 (Berkeley) 6/4/93 -.\"     $Id: malloc.3,v 1.12 1997/06/22 17:54:27 phk Exp $ +.\"     $Id: malloc.3,v 1.13 1997/07/01 18:39:36 phk Exp $  .\"  .Dd August 27, 1996  .Dt MALLOC 3 @@ -155,7 +155,8 @@ option.  This is intended for debugging and will impact performance negatively.  .It H  Pass a hint to the kernel about pages unused by the allocation functions. -This may help performance if the system is paging excessively. +This will help performance if the system is paging excessively.  This +option is on by default.  .It R  Cause the  .Fn realloc diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 1fb09c1c5101..99d5d8bbd0a0 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -6,7 +6,7 @@   * this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp   * ----------------------------------------------------------------------------   * - * $Id: malloc.c,v 1.28 1997/07/02 19:33:23 phk Exp $ + * $Id: malloc.c,v 1.29 1997/07/26 03:43:14 jdp Exp $   *   */ @@ -206,7 +206,7 @@ static int suicide;  static int malloc_realloc;  /* pass the kernel a hint on free pages ?  */ -static int malloc_hint; +static int malloc_hint = 1;  /* xmalloc behaviour ?  */  static int malloc_xmalloc; | 
