Malloc option H is now default.

This commit is contained in:
Poul-Henning Kamp 1997-08-27 06:40:34 +00:00
parent b1795946fd
commit cd15afa3e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28830
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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;