From nobody Thu Dec 30 07:09:03 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 2034E191252F; Thu, 30 Dec 2021 07:09:04 +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 4JPfWz5GKcz3w2T; Thu, 30 Dec 2021 07:09:03 +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 7998914452; Thu, 30 Dec 2021 07:09:03 +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 1BU793k7032425; Thu, 30 Dec 2021 07:09:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BU793P5032424; Thu, 30 Dec 2021 07:09:03 GMT (envelope-from git) Date: Thu, 30 Dec 2021 07:09:03 GMT Message-Id: <202112300709.1BU793P5032424@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: 841e0a87576b - main - uma: with KTR trace allocs/frees from SMR zones 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: 841e0a87576b745dfcdd1c43d1f1cb440e73b646 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640848143; 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=Y4D9A+YS33hbWG/A9QYKPqOUiCCdOiSfoMQAzFzTkn0=; b=ZtSRDxkBaLkThiVRi4VriFEHGoOCWJLhon8ghTZ3TgMGeUt//xJHzd5mO2EJD1YbBTelyb JeFas41JRcxVFB5Os7qIvYGAimi1xMACS5anUerDQAXzY6EQRcTFIqjIZnU+weRZ8JrQPq 7doVvFq8KMt3xWvdX4qCE4n/Zc1bnEce32+C0ia6s60krrSYt/dO2fEjxGxXSWJ7jie/QD QAg35fbmkIaoUOtZn73+/Yco02m7WVSejnmGYBSY0XfnPVqa70EWSeJOj2LhLZiCLiekaS ruEWoIWJVLMxAxS88a39a+SVshOk6g2BYr9O8S/TifGA1yj3DKAGWaIFUvf7aQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640848143; a=rsa-sha256; cv=none; b=mVXHKh5/TGZ/eruS/sCQCje63ctTGjDX1HeJTerGE95qNJTyid3IGehRDs+d6ld2BO/5Xx vsJaPQWb1sgwg295mtFOMrHqvw4mp8ygsJwsaAIwZUArUP+TTIuXwUp4UKHDAUaIcMd+du b+mjEoAdLQZ4tlJmUOak2vWF+ncZVffpH6yXdZXf36K0doTXFaoCG0omHW4jEJ8V/kGeKo PvDuyv8bnK6NFc/SJGM0yjcIncqtAqQDiPmvd99r700VGdWsQRSte1/zzhyDY3AQZuy2nm ukrtBVURgoiAG3bETTJO4/0+GYs+8F5hCtnBS4Huy4H4ZUqunN8g8oXOWsxEeQ== 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=841e0a87576b745dfcdd1c43d1f1cb440e73b646 commit 841e0a87576b745dfcdd1c43d1f1cb440e73b646 Author: Gleb Smirnoff AuthorDate: 2021-12-30 07:08:15 +0000 Commit: Gleb Smirnoff CommitDate: 2021-12-30 07:08:33 +0000 uma: with KTR trace allocs/frees from SMR zones --- sys/vm/uma_core.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index 3ec32cbb4ed2..52d30780b3b0 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -3625,6 +3625,9 @@ uma_zalloc_smr(uma_zone_t zone, int flags) uma_cache_bucket_t bucket; uma_cache_t cache; + CTR3(KTR_UMA, "uma_zalloc_smr zone %s(%p) flags %d", zone->uz_name, + zone, flags); + #ifdef UMA_ZALLOC_DEBUG void *item; @@ -4379,6 +4382,9 @@ uma_zfree_smr(uma_zone_t zone, void *item) uma_cache_bucket_t bucket; int itemdomain, uz_flags; + CTR3(KTR_UMA, "uma_zfree_smr zone %s(%p) item %p", + zone->uz_name, zone, item); + #ifdef UMA_ZALLOC_DEBUG KASSERT((zone->uz_flags & UMA_ZONE_SMR) != 0, ("uma_zfree_smr: called with non-SMR zone."));