summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/vm/vm_zone.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_zone.c b/sys/vm/vm_zone.c
index b1007dc..d7bbfaa 100644
--- a/sys/vm/vm_zone.c
+++ b/sys/vm/vm_zone.c
@@ -371,6 +371,7 @@ _zget(vm_zone_t z)
(char *) item += z->zsize;
}
z->zfreecnt += nitems;
+ z->znalloc++;
} else if (z->zfreecnt > 0) {
item = z->zitems;
z->zitems = ((void **) item)[0];
@@ -380,6 +381,7 @@ _zget(vm_zone_t z)
((void **) item)[1] = 0;
#endif
z->zfreecnt--;
+ z->znalloc++;
} else {
item = NULL;
}
OpenPOWER on IntegriCloud