summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2004-08-10 14:47:12 +0000
committergreen <green@FreeBSD.org>2004-08-10 14:47:12 +0000
commit7ba21185161ba9b9a108a43abf37aad77a44e364 (patch)
treec8826a84b506f7abb41620ea415b9c48dd1b0194
parentd9efb7d719f6af6d49eab8bebf9f2846589c95e1 (diff)
downloadFreeBSD-src-7ba21185161ba9b9a108a43abf37aad77a44e364.zip
FreeBSD-src-7ba21185161ba9b9a108a43abf37aad77a44e364.tar.gz
Update contigmalloc(9)'s manpage to reflect usage of the malloc_type
argument and that allocation occurs from the end of the address space backward (still first-fit).
-rw-r--r--share/man/man9/contigmalloc.911
1 files changed, 2 insertions, 9 deletions
diff --git a/share/man/man9/contigmalloc.9 b/share/man/man9/contigmalloc.9
index 2b2d6f7..fc74ae5 100644
--- a/share/man/man9/contigmalloc.9
+++ b/share/man/man9/contigmalloc.9
@@ -90,7 +90,8 @@ The
function does not sleep waiting for memory resources to be freed up,
but instead scans available physical memory a small number of times
for a suitably sized free address range before giving up.
-Memory allocation is done on a first-fit basis.
+Memory allocation is done on a first-fit basis, starting from the
+top of the provided address range.
.Sh RETURN VALUES
The
.Fn contigmalloc
@@ -120,11 +121,3 @@ is zero, or if
or
.Fa boundary
is not a power of two.
-.Sh BUGS
-The
-.Fa type
-argument to
-.Fn contigmalloc
-and
-.Fn contigfree
-is ignored.
OpenPOWER on IntegriCloud