diff options
author | pedro <> | 2006-06-06 14:49:26 +0000 |
---|---|---|
committer | pedro <> | 2006-06-06 14:49:26 +0000 |
commit | dc74f73d8b96b39a527120c09d9607ae2933e528 (patch) | |
tree | 198f29859270f5211860b8dcd0f3e93f78ea7e8b /src/lib/libc | |
parent | cfda8d97620bfd82cc4d8f2dc0574c9aca365677 (diff) | |
download | openbsd-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.3 | 8 |
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 | |||
285 | except for the exact length the user asked for, which is zeroed. | 285 | except 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 . |
288 | Reduce the size of the cache by a factor of two. | 288 | Decrease 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 . |
291 | Double the size of the cache by a factor of two. | 291 | Increase the size of the free page cache by a factor of two. |
292 | .El | 292 | .El |
293 | .Pp | 293 | .Pp |
294 | So to set a systemwide reduction of cache size and coredumps on problems: | 294 | So to set a systemwide reduction of cache size and coredumps on problems: |
@@ -302,7 +302,7 @@ flags are mostly for testing and debugging. | |||
302 | If a program changes behavior if either of these options are used, | 302 | If a program changes behavior if either of these options are used, |
303 | it is buggy. | 303 | it is buggy. |
304 | .Pp | 304 | .Pp |
305 | The default cache size is 16 pages. | 305 | The default number of free pages cached is 16. |
306 | .Sh RETURN VALUES | 306 | .Sh RETURN VALUES |
307 | The | 307 | The |
308 | .Fn malloc | 308 | .Fn malloc |