diff options
| author | Jeffrey Hsu <hsu@FreeBSD.org> | 2000-06-05 06:34:41 +0000 |
|---|---|---|
| committer | Jeffrey Hsu <hsu@FreeBSD.org> | 2000-06-05 06:34:41 +0000 |
| commit | b10c4e187f9998311cbd0c7f3a7bd70443d644f8 (patch) | |
| tree | 2695864dcdf6798cc2b11cc26c77a98bcf9e9584 | |
| parent | 5a890e22bf094083aeb458eb37f05c527bf1590f (diff) | |
Notes
| -rw-r--r-- | sys/vm/vm_zone.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_zone.c b/sys/vm/vm_zone.c index b1007dcd340b..d7bbfaa3cba7 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; } |
