diff options
author | otto <> | 2021-04-09 06:04:15 +0000 |
---|---|---|
committer | otto <> | 2021-04-09 06:04:15 +0000 |
commit | 2d4ac2ff90fa6ee075a2a1ebf91a5c392f4fdd67 (patch) | |
tree | 21682d76abfde762c97a3523ad00cb61dd244dc6 | |
parent | 79d1cf85d77337e59586c0140fd320d7e583288a (diff) | |
download | openbsd-2d4ac2ff90fa6ee075a2a1ebf91a5c392f4fdd67.tar.gz openbsd-2d4ac2ff90fa6ee075a2a1ebf91a5c392f4fdd67.tar.bz2 openbsd-2d4ac2ff90fa6ee075a2a1ebf91a5c392f4fdd67.zip |
Cache implementation has changed, we do not hold on to an exact number
of pages anymore, but also cache larger regions; ok tb@
-rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index c27f965d0a..dc3e691ece 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 | |||
@@ -30,9 +30,9 @@ | |||
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.127 2021/02/25 15:20:18 otto Exp $ | 33 | .\" $OpenBSD: malloc.3,v 1.128 2021/04/09 06:04:15 otto Exp $ |
34 | .\" | 34 | .\" |
35 | .Dd $Mdocdate: February 25 2021 $ | 35 | .Dd $Mdocdate: April 9 2021 $ |
36 | .Dt MALLOC 3 | 36 | .Dt MALLOC 3 |
37 | .Os | 37 | .Os |
38 | .Sh NAME | 38 | .Sh NAME |
@@ -366,7 +366,8 @@ If a program changes behavior if any of these options (except | |||
366 | are used, | 366 | are used, |
367 | it is buggy. | 367 | it is buggy. |
368 | .Pp | 368 | .Pp |
369 | The default number of free pages cached is 64 per malloc pool. | 369 | The default size of the cache is 64 single page allocations. |
370 | It also caches a number of larger regions. | ||
370 | Multi-threaded programs use multiple pools. | 371 | Multi-threaded programs use multiple pools. |
371 | .Sh RETURN VALUES | 372 | .Sh RETURN VALUES |
372 | Upon successful completion, the allocation functions | 373 | Upon successful completion, the allocation functions |