summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2006-06-06 14:49:27 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2006-06-06 14:49:27 +0000
commitd97bea329033d1e7da158716b920af1549a9c5e6 (patch)
tree5b2694d0182f5e516a302fd22bdf2e20d89ec480 /lib
parentd716471e011c7ae69905d55a794e6d29e894a092 (diff)
Fix 'double by a factor of two' and make cache options a bit more
descriptive while at it, input and okay jmc@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/malloc.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 11318d7ce27..e5bb1315dff 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/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