summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorabhinav <abhinav@NetBSD.org>2017-10-25 17:09:47 +0000
committerabhinav <abhinav@NetBSD.org>2017-10-25 17:09:47 +0000
commit3898766d98e9a18be5e504a472feb3fd9ae81ef2 (patch)
tree547ffd292c0d8a4f157267aa6f1ce3d2ae0a2408 /lib/libc/stdlib
parent02b35588ccb6f6f85c927d70a7b0836db0b7505a (diff)
Add malloc.conf to the NAME section
Remove Pp before Bd at few places
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/jemalloc.36
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/stdlib/jemalloc.3 b/lib/libc/stdlib/jemalloc.3
index 73c12d63873..48a69934946 100644
--- a/lib/libc/stdlib/jemalloc.3
+++ b/lib/libc/stdlib/jemalloc.3
@@ -38,7 +38,8 @@
.Dt JEMALLOC 3
.Os
.Sh NAME
-.Nm jemalloc
+.Nm jemalloc ,
+.Nm malloc.conf
.Nd the default system allocator
.Sh LIBRARY
.Lb libc
@@ -160,7 +161,6 @@ the source code:
.Bd -literal -offset indent
_malloc_options = "X";
.Ed
-.Pp
.It Em Z
Each byte of new memory allocated by
.Fn malloc ,
@@ -228,7 +228,6 @@ determine all metadata regarding small and large allocations in constant time.
Small objects are managed in groups by page runs.
Each run maintains a bitmap that tracks which regions are in use.
Allocation requests can be grouped as follows.
-.Pp
.Bl -bullet -offset 3n
.It
Allocation requests that are no more than half the quantum (see the
@@ -306,7 +305,6 @@ allocation functions.
.El
.Sh EXAMPLES
To dump core whenever a problem occurs:
-.Pp
.Bd -literal -offset indent
ln -s 'A' /etc/malloc.conf
.Ed