diff options
author | 2006-06-06 14:49:26 +0000 | |
---|---|---|
committer | 2006-06-06 14:49:26 +0000 | |
commit | 2085a46d70118ff49816531d0db028a617bd8a17 (patch) | |
tree | b03d0ad88382d0f423e49b56deaffa85cb48d335 /lib/libc/stdlib/malloc.3 | |
parent | fix a panic string to mention the corrent place its freaking out in. (diff) | |
download | wireguard-openbsd-2085a46d70118ff49816531d0db028a617bd8a17.tar.xz wireguard-openbsd-2085a46d70118ff49816531d0db028a617bd8a17.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 'lib/libc/stdlib/malloc.3')
-rw-r--r-- | lib/libc/stdlib/malloc.3 | 8 |
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 |