From 244553b30f13f0f3b31f4f945e974c56c8be85f7 Mon Sep 17 00:00:00 2001 From: pedro <> Date: Tue, 6 Jun 2006 14:49:26 +0000 Subject: [PATCH] Fix 'double by a factor of two' and make cache options a bit more descriptive while at it, input and okay jmc@ --- src/lib/libc/stdlib/malloc.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index 11318d7c..e5bb1315 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 @@ -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