summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorpedro <>2006-06-06 14:49:26 +0000
committerpedro <>2006-06-06 14:49:26 +0000
commitdc74f73d8b96b39a527120c09d9607ae2933e528 (patch)
tree198f29859270f5211860b8dcd0f3e93f78ea7e8b /src/lib/libc
parentcfda8d97620bfd82cc4d8f2dc0574c9aca365677 (diff)
downloadopenbsd-dc74f73d8b96b39a527120c09d9607ae2933e528.tar.gz
openbsd-dc74f73d8b96b39a527120c09d9607ae2933e528.tar.bz2
openbsd-dc74f73d8b96b39a527120c09d9607ae2933e528.zip
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 'src/lib/libc')
-rw-r--r--src/lib/libc/stdlib/malloc.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3
index 11318d7ce2..e5bb1315df 100644
--- a/src/lib/libc/stdlib/malloc.3
+++ b/src/lib/libc/stdlib/malloc.3
@@ -30,7 +30,7 @@
30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE. 31.\" SUCH DAMAGE.
32.\" 32.\"
33.\" $OpenBSD: malloc.3,v 1.44 2006/04/02 18:22:14 otto Exp $ 33.\" $OpenBSD: malloc.3,v 1.45 2006/06/06 14:49:26 pedro Exp $
34.\" 34.\"
35.Dd August 27, 1996 35.Dd August 27, 1996
36.Dt MALLOC 3 36.Dt MALLOC 3
@@ -285,10 +285,10 @@ Fill some junk into the area allocated (see
285except for the exact length the user asked for, which is zeroed. 285except for the exact length the user asked for, which is zeroed.
286.It Cm < 286.It Cm <
287.Dq Half the cache size . 287.Dq Half the cache size .
288Reduce the size of the cache by a factor of two. 288Decrease the size of the free page cache by a factor of two.
289.It Cm > 289.It Cm >
290.Dq Double the cache size . 290.Dq Double the cache size .
291Double the size of the cache by a factor of two. 291Increase the size of the free page cache by a factor of two.
292.El 292.El
293.Pp 293.Pp
294So to set a systemwide reduction of cache size and coredumps on problems: 294So to set a systemwide reduction of cache size and coredumps on problems:
@@ -302,7 +302,7 @@ flags are mostly for testing and debugging.
302If a program changes behavior if either of these options are used, 302If a program changes behavior if either of these options are used,
303it is buggy. 303it is buggy.
304.Pp 304.Pp
305The default cache size is 16 pages. 305The default number of free pages cached is 16.
306.Sh RETURN VALUES 306.Sh RETURN VALUES
307The 307The
308.Fn malloc 308.Fn malloc