From fcaa2a49c412a9d77cd9d44a41ca5cf57b003063 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 4 Feb 2003 08:23:18 +0000 Subject: Change a printf to also tell how many items were left in the zone. --- sys/vm/uma_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/vm/uma_core.c') 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++) -- cgit v1.1