summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2006-10-02 07:27:00 +0000
committerkib <kib@FreeBSD.org>2006-10-02 07:27:00 +0000
commitff66a30202a01ed7e94af76a94d7ac56a633b2e1 (patch)
tree34f601929c6df669508de808612d8019d462405b /share/man
parentaa82c7280868d41b2efd0d802a50550c404120fa (diff)
downloadFreeBSD-src-ff66a30202a01ed7e94af76a94d7ac56a633b2e1.zip
FreeBSD-src-ff66a30202a01ed7e94af76a94d7ac56a633b2e1.tar.gz
Remove long untrue note about storing state information inside free items.
OKed by: rwatson, tegge Approved by: pjd (mentor) MFC after: 1 week
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/zone.920
1 files changed, 1 insertions, 19 deletions
diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9
index d6e9d72..089f686 100644
--- a/share/man/man9/zone.9
+++ b/share/man/man9/zone.9
@@ -65,27 +65,9 @@ The zone allocator keeps track of which items are in use and which
are not, and provides functions for allocating items from the zone and
for releasing them back (which makes them available for later use).
.Pp
-The zone allocator stores state information inside the items proper
-while they are not allocated,
-so structures that will be managed by the zone allocator
-and wish to use the type stable property of zones by leaving some fields
-pre-filled between allocations, must reserve
-two pointers at the very beginning for internal use by the zone
-allocator, as follows:
-.Bd -literal -offset indent
-struct my_item {
- struct my_item *z_rsvd1;
- struct my_item *z_rsvd2;
- /* rest of structure */
-};
-.Ed
-.Pp
-Alternatively they should assume those entries corrupted
-after each allocation.
After the first allocation of an item,
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.
+will retain the contents as of the last free.
.Pp
The
.Fn uma_zcreate
OpenPOWER on IntegriCloud