diff options
author | phk <phk@FreeBSD.org> | 2003-02-04 08:23:18 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-02-04 08:23:18 +0000 |
commit | fcaa2a49c412a9d77cd9d44a41ca5cf57b003063 (patch) | |
tree | f653729bd3535f316c6fd5a653d61c72be5c14ca /sys/vm | |
parent | 65dd91a290f2209b6b8514ec4adc44f8c51c5a3e (diff) | |
download | FreeBSD-src-fcaa2a49c412a9d77cd9d44a41ca5cf57b003063.zip FreeBSD-src-fcaa2a49c412a9d77cd9d44a41ca5cf57b003063.tar.gz |
Change a printf to also tell how many items were left in the zone.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/uma_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index ef43fc2..e7c3f68 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -1133,8 +1133,8 @@ zone_dtor(void *arg, int size, void *udata) ZONE_LOCK(zone); if (zone->uz_free != 0) - printf("Zone %s was not empty. Lost %d pages of memory.\n", - zone->uz_name, zone->uz_pages); + printf("Zone %s was not empty (%d items). Lost %d pages of memory.\n", + zone->uz_name, zone->uz_free, zone->uz_pages); if ((zone->uz_flags & UMA_ZFLAG_INTERNAL) == 0) for (cpu = 0; cpu < maxcpu; cpu++) |