Malloc option H is now default.

This commit is contained in:
phk 1997-08-27 06:40:34 +00:00
parent f9bc029397
commit f276c66ddf
2 changed files with 5 additions and 4 deletions

View File

@ -34,7 +34,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)malloc.3 8.1 (Berkeley) 6/4/93 .\" @(#)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 .Dd August 27, 1996
.Dt MALLOC 3 .Dt MALLOC 3
@ -155,7 +155,8 @@ option.
This is intended for debugging and will impact performance negatively. This is intended for debugging and will impact performance negatively.
.It H .It H
Pass a hint to the kernel about pages unused by the allocation functions. 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 .It R
Cause the Cause the
.Fn realloc .Fn realloc

View File

@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * 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; static int malloc_realloc;
/* pass the kernel a hint on free pages ? */ /* pass the kernel a hint on free pages ? */
static int malloc_hint; static int malloc_hint = 1;
/* xmalloc behaviour ? */ /* xmalloc behaviour ? */
static int malloc_xmalloc; static int malloc_xmalloc;