summaryrefslogtreecommitdiffstats
path: root/share/man/man9/zone.9
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2002-04-30 16:30:19 +0000
committerasmodai <asmodai@FreeBSD.org>2002-04-30 16:30:19 +0000
commit3292015fc53a8fd254a5abfb3f127e374188c0bd (patch)
tree64c414e8fadbe123f25e7a6969d64d85102008fe /share/man/man9/zone.9
parentadee5febf607f446e1d07d19c53122d55068650b (diff)
downloadFreeBSD-src-3292015fc53a8fd254a5abfb3f127e374188c0bd.zip
FreeBSD-src-3292015fc53a8fd254a5abfb3f127e374188c0bd.tar.gz
Chase the sources and document the change of wait to flags, which are
the normal malloc(9) flags. Submitted by: arr
Diffstat (limited to 'share/man/man9/zone.9')
-rw-r--r--share/man/man9/zone.912
1 files changed, 4 insertions, 8 deletions
diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9
index 6f3a445..df23347 100644
--- a/share/man/man9/zone.9
+++ b/share/man/man9/zone.9
@@ -38,7 +38,7 @@
.In sys/queue.h
.In vm/uma.h
.Ft void *
-.Fn uma_zalloc "uma_zone_t zone, int wait"
+.Fn uma_zalloc "uma_zone_t zone, int flags"
.Ft void
.Fn uma_zfree "uma_zone_t zone" "void *item"
.Ft void
@@ -81,13 +81,9 @@ To allocate an item from a zone, simply call
.Fn uma_zalloc
with a pointer to that zone
and set the
-.Fa wait
-argument to
-.Dv M_WAITOK
-or
-.Dv M_NOWAIT
-depending on whether or not to block while allocating memory for this zone,
-should we run out.
+.Fa flags
+argument to selected flags as documented in
+.Xr malloc 9 .
It will return a pointer to an item if successful,
or
.Dv NULL
OpenPOWER on IntegriCloud