summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man9/Makefile1
-rw-r--r--share/man/man9/zone.916
-rw-r--r--tools/tools/umastat/umastat.c1
3 files changed, 1 insertions, 17 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 7f30e85..e64ebdf 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1932,7 +1932,6 @@ MLINKS+=vrele.9 vput.9 \
vrele.9 vunref.9
MLINKS+=vslock.9 vsunlock.9
MLINKS+=zone.9 uma.9 \
- zone.9 uma_find_refcnt.9 \
zone.9 uma_zalloc.9 \
zone.9 uma_zalloc_arg.9 \
zone.9 uma_zcreate.9 \
diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9
index 69d1f20..41f2c39 100644
--- a/share/man/man9/zone.9
+++ b/share/man/man9/zone.9
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 20, 2015
+.Dd April 26, 2017
.Dt ZONE 9
.Os
.Sh NAME
@@ -34,7 +34,6 @@
.Nm uma_zalloc_arg ,
.Nm uma_zfree ,
.Nm uma_zfree_arg ,
-.Nm uma_find_refcnt ,
.Nm uma_zdestroy ,
.Nm uma_zone_set_max,
.Nm uma_zone_get_max,
@@ -60,8 +59,6 @@
.Fn uma_zfree "uma_zone_t zone" "void *item"
.Ft void
.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
.Fn uma_zdestroy "uma_zone_t zone"
.Ft int
@@ -155,10 +152,6 @@ is a subset of the following flags:
.Bl -tag -width "foo"
.It Dv UMA_ZONE_NOFREE
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
Pages belonging to the zone will not be included into mini-dumps.
.It Dv UMA_ZONE_PCPU
@@ -257,13 +250,6 @@ and
.Dv dtor
functions, respectively.
.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,
which are empty,
can be destroyed using
diff --git a/tools/tools/umastat/umastat.c b/tools/tools/umastat/umastat.c
index 8989be4..f50e14d 100644
--- a/tools/tools/umastat/umastat.c
+++ b/tools/tools/umastat/umastat.c
@@ -133,7 +133,6 @@ static const struct flaginfo {
{ UMA_ZONE_VM, "vm" },
{ UMA_ZONE_HASH, "hash" },
{ UMA_ZONE_SECONDARY, "secondary" },
- { UMA_ZONE_REFCNT, "refcnt" },
{ UMA_ZONE_MAXBUCKET, "maxbucket" },
{ UMA_ZONE_CACHESPREAD, "cachespread" },
{ UMA_ZONE_VTOSLAB, "vtoslab" },
OpenPOWER on IntegriCloud