git: 28782f73df99 - main - uma: with KTR report item being freed in uma_zfree_arg()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Dec 2021 07:09:02 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=28782f73df99053b6f2384cb9dee66162b54b665
commit 28782f73df99053b6f2384cb9dee66162b54b665
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2021-12-30 07:08:15 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2021-12-30 07:08:15 +0000
uma: with KTR report item being freed in uma_zfree_arg()
---
sys/vm/uma_core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c
index 5a9d9bb9fbf4..3ec32cbb4ed2 100644
--- a/sys/vm/uma_core.c
+++ b/sys/vm/uma_core.c
@@ -4430,7 +4430,8 @@ uma_zfree_arg(uma_zone_t zone, void *item, void *udata)
/* Enable entropy collection for RANDOM_ENABLE_UMA kernel option */
random_harvest_fast_uma(&zone, sizeof(zone), RANDOM_UMA);
- CTR2(KTR_UMA, "uma_zfree_arg zone %s(%p)", zone->uz_name, zone);
+ CTR3(KTR_UMA, "uma_zfree_arg zone %s(%p) item %p",
+ zone->uz_name, zone, item);
#ifdef UMA_ZALLOC_DEBUG
KASSERT((zone->uz_flags & UMA_ZONE_SMR) == 0,