From nobody Thu Dec 30 07:09:02 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C032F19123EA; Thu, 30 Dec 2021 07:09:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JPfWy33TZz3w7B; Thu, 30 Dec 2021 07:09:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4870D142F2; Thu, 30 Dec 2021 07:09:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BU792TS032401; Thu, 30 Dec 2021 07:09:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BU792QY032400; Thu, 30 Dec 2021 07:09:02 GMT (envelope-from git) Date: Thu, 30 Dec 2021 07:09:02 GMT Message-Id: <202112300709.1BU792QY032400@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 28782f73df99 - main - uma: with KTR report item being freed in uma_zfree_arg() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 28782f73df99053b6f2384cb9dee66162b54b665 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640848142; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=f0iBb8NB5FTQgVKlzpi+V/cpXBup56CpNOlVUmYq1w4=; b=WYBeBwGMo7q4hjo61Zf/5onFyqcxXcjCWNKv+Lc6eyLlSLqthPBQuBzy4raSlEmz3+xoUX 27jYCTp2mwGBfLGwTecWz/LUgNRkSknnzpBLsiZipnBNBBc6snKLNs86PElRHcSXUA/JiA ZQ7gtl2ayukwkUuNq6ZGBW6zy6cFHtmnJqUzjvWfmGSl6T9a/JxhJb9+iD5xVXW88XRXgi zQyDT31AJTNmPo1ZgEsL8ib17frMmmdCrlB/vYm+Pp23wXNuWglQRpbqdVBQ827wZdvtf9 Nt/CUBKJHM6NqcBhMuvTua24M8/qRcXn5XDkArpxATWt4I3ihXDqD50llEeuFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640848142; a=rsa-sha256; cv=none; b=TIvjZC+bpI5ajhn3ZJWDCFT0HbIuM/uDPJVTYN7EywIRnMo61w/J9rpapPcSE/ekQPCJiN dgijCvmZOzbDHrv/9dIoGAhGWkYyWbNX+Em/SPTMQVvH7jHZo99HfAD8x2lkgo2w81whdw DpecqP0ADj5OaegEC6XNW2/TfEa3+2X1jc6agMIQuQWuyJYDdJmGKRG81QO+MaGd6cJ7nH x+val94iOigwrDgUgfvxbJVWPzxf/pijMd2Kk3ftR3a+bBUeWetYoUlK360lKAlrsnPyBX Y147+KbCbvZILItqRb1+Wohf1sRLX9hXEFxVg3txP8XjbHkqgw4NXvjiGcKERQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=28782f73df99053b6f2384cb9dee66162b54b665 commit 28782f73df99053b6f2384cb9dee66162b54b665 Author: Gleb Smirnoff AuthorDate: 2021-12-30 07:08:15 +0000 Commit: Gleb Smirnoff 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,