summaryrefslogtreecommitdiffstats
path: root/share/man/man9/zone.9
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2002-04-30 12:29:59 +0000
committerasmodai <asmodai@FreeBSD.org>2002-04-30 12:29:59 +0000
commit32b14628815cabf630326edd07f808f075c220a9 (patch)
tree880c0d3788cfe991e5c46315e495a1f8cf873feb /share/man/man9/zone.9
parent7080bdd505d23fb80790b3be1dd042ac2a9e78ce (diff)
downloadFreeBSD-src-32b14628815cabf630326edd07f808f075c220a9.zip
FreeBSD-src-32b14628815cabf630326edd07f808f075c220a9.tar.gz
zinit() does not exist anymore.
Diffstat (limited to 'share/man/man9/zone.9')
-rw-r--r--share/man/man9/zone.933
1 files changed, 0 insertions, 33 deletions
diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9
index f10ea14..73f79b1 100644
--- a/share/man/man9/zone.9
+++ b/share/man/man9/zone.9
@@ -29,7 +29,6 @@
.Dt ZONE 9
.Os
.Sh NAME
-.Nm zinit ,
.Nm zalloc ,
.Nm zfree ,
.Nm zdestroy
@@ -38,8 +37,6 @@
.In sys/param.h
.In sys/queue.h
.In vm/uma.h
-.Ft vm_zone_t
-.Fn zinit "char *name" "int size" "int nentries" "int flags" "int zalloc"
.Ft void *
.Fn zalloc "vm_zone_t z"
.Ft void
@@ -80,36 +77,6 @@ it will have been cleared to zeroes, however subsequent allocations
will retain the contents as of the last free, with the exception of the
fields mentioned above.
.Pp
-If the VM system is fully initialized, a dynamically allocated zone can
-be created using
-.Fn zinit .
-The
-.Fa name
-argument should be a pointer to a short, descriptive name for the
-zone; it is used for statistics and debugging purposes.
-The
-.Fa size
-and
-.Fa nentries
-are the size of the items held by the zone and the initial size (in
-items) of the zone, respectively.
-The
-.Fa flags
-argument should be set to
-.Dv ZONE_INTERRUPT
-if there is a chance that items may be allocated from the zone in
-interrupt context; note that in this case, the zone will never grow
-larger than
-.Fa nentries
-items.
-In all other cases,
-.Fa flags
-should be set to 0.
-The final argument,
-.Fa zalloc ,
-indicates the number of VM pages by which the zone should grow every
-time it fills up.
-.Pp
To allocate an item from a zone, simply call
.Fn zalloc
with a pointer to that zone; it will return a pointer to an item, or
OpenPOWER on IntegriCloud