|
|
@ -30,7 +30,7 @@ |
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
|
.\" SUCH DAMAGE. |
|
|
|
.\" |
|
|
|
.\" $OpenBSD: malloc.3,v 1.44 2006/04/02 18:22:14 otto Exp $ |
|
|
|
.\" $OpenBSD: malloc.3,v 1.45 2006/06/06 14:49:26 pedro Exp $ |
|
|
|
.\" |
|
|
|
.Dd August 27, 1996 |
|
|
|
.Dt MALLOC 3 |
|
|
@ -285,10 +285,10 @@ Fill some junk into the area allocated (see |
|
|
|
except for the exact length the user asked for, which is zeroed. |
|
|
|
.It Cm < |
|
|
|
.Dq Half the cache size . |
|
|
|
Reduce the size of the cache by a factor of two. |
|
|
|
Decrease the size of the free page cache by a factor of two. |
|
|
|
.It Cm > |
|
|
|
.Dq Double the cache size . |
|
|
|
Double the size of the cache by a factor of two. |
|
|
|
Increase the size of the free page cache by a factor of two. |
|
|
|
.El |
|
|
|
.Pp |
|
|
|
So to set a systemwide reduction of cache size and coredumps on problems: |
|
|
@ -302,7 +302,7 @@ flags are mostly for testing and debugging. |
|
|
|
If a program changes behavior if either of these options are used, |
|
|
|
it is buggy. |
|
|
|
.Pp |
|
|
|
The default cache size is 16 pages. |
|
|
|
The default number of free pages cached is 16. |
|
|
|
.Sh RETURN VALUES |
|
|
|
The |
|
|
|
.Fn malloc |
|
|
|