UMA_ZONE_REFCNT was removed.
PR: 209715 Submitted by: Fabian Keil <fk fabiankeil.de> MFC after: 3 days
This commit is contained in:
parent
071ab2e83a
commit
dce26e08f3
@ -1994,7 +1994,6 @@ MLINKS+=vrele.9 vput.9 \
|
|||||||
vrele.9 vunref.9
|
vrele.9 vunref.9
|
||||||
MLINKS+=vslock.9 vsunlock.9
|
MLINKS+=vslock.9 vsunlock.9
|
||||||
MLINKS+=zone.9 uma.9 \
|
MLINKS+=zone.9 uma.9 \
|
||||||
zone.9 uma_find_refcnt.9 \
|
|
||||||
zone.9 uma_zalloc.9 \
|
zone.9 uma_zalloc.9 \
|
||||||
zone.9 uma_zalloc_arg.9 \
|
zone.9 uma_zalloc_arg.9 \
|
||||||
zone.9 uma_zcreate.9 \
|
zone.9 uma_zcreate.9 \
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd December 20, 2015
|
.Dd April 26, 2017
|
||||||
.Dt ZONE 9
|
.Dt ZONE 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -34,7 +34,6 @@
|
|||||||
.Nm uma_zalloc_arg ,
|
.Nm uma_zalloc_arg ,
|
||||||
.Nm uma_zfree ,
|
.Nm uma_zfree ,
|
||||||
.Nm uma_zfree_arg ,
|
.Nm uma_zfree_arg ,
|
||||||
.Nm uma_find_refcnt ,
|
|
||||||
.Nm uma_zdestroy ,
|
.Nm uma_zdestroy ,
|
||||||
.Nm uma_zone_set_max,
|
.Nm uma_zone_set_max,
|
||||||
.Nm uma_zone_get_max,
|
.Nm uma_zone_get_max,
|
||||||
@ -60,8 +59,6 @@
|
|||||||
.Fn uma_zfree "uma_zone_t zone" "void *item"
|
.Fn uma_zfree "uma_zone_t zone" "void *item"
|
||||||
.Ft void
|
.Ft void
|
||||||
.Fn uma_zfree_arg "uma_zone_t zone" "void *item" "void *arg"
|
.Fn uma_zfree_arg "uma_zone_t zone" "void *item" "void *arg"
|
||||||
.Ft "uint32_t *"
|
|
||||||
.Fn uma_find_refcnt "uma_zone_t zone" "void *item"
|
|
||||||
.Ft void
|
.Ft void
|
||||||
.Fn uma_zdestroy "uma_zone_t zone"
|
.Fn uma_zdestroy "uma_zone_t zone"
|
||||||
.Ft int
|
.Ft int
|
||||||
@ -155,10 +152,6 @@ is a subset of the following flags:
|
|||||||
.Bl -tag -width "foo"
|
.Bl -tag -width "foo"
|
||||||
.It Dv UMA_ZONE_NOFREE
|
.It Dv UMA_ZONE_NOFREE
|
||||||
Slabs of the zone are never returned back to VM.
|
Slabs of the zone are never returned back to VM.
|
||||||
.It Dv UMA_ZONE_REFCNT
|
|
||||||
Each item in the zone would have internal reference counter associated with it.
|
|
||||||
See
|
|
||||||
.Fn uma_find_refcnt .
|
|
||||||
.It Dv UMA_ZONE_NODUMP
|
.It Dv UMA_ZONE_NODUMP
|
||||||
Pages belonging to the zone will not be included into mini-dumps.
|
Pages belonging to the zone will not be included into mini-dumps.
|
||||||
.It Dv UMA_ZONE_PCPU
|
.It Dv UMA_ZONE_PCPU
|
||||||
@ -257,13 +250,6 @@ and
|
|||||||
.Dv dtor
|
.Dv dtor
|
||||||
functions, respectively.
|
functions, respectively.
|
||||||
.Pp
|
.Pp
|
||||||
If zone was created with
|
|
||||||
.Dv UMA_ZONE_REFCNT
|
|
||||||
flag, then pointer to reference counter for an item can be retrieved with
|
|
||||||
help of the
|
|
||||||
.Fn uma_find_refcnt
|
|
||||||
function.
|
|
||||||
.Pp
|
|
||||||
Created zones,
|
Created zones,
|
||||||
which are empty,
|
which are empty,
|
||||||
can be destroyed using
|
can be destroyed using
|
||||||
|
Loading…
x
Reference in New Issue
Block a user