From nobody Tue Oct 29 10:19:45 2024 X-Original-To: x11@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 4Xd5pn3bZzz5bGHx for ; Tue, 29 Oct 2024 10:19:45 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xd5pn1hkpz4qk3 for ; Tue, 29 Oct 2024 10:19:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730197185; 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: in-reply-to:in-reply-to:references:references; bh=B6Ine2JWS4JrbkpJgKasc4yD/UDV38BP7PBtTnHOALg=; b=PYrouz3SlhYYa6g67RIX3KtTAsjcUR2dBdQRjKv62l8fN2tihOVBp4JYK8CoYYuOF0cEfy Qdc9XGGJOz+yOWcb7UDi0mEjNob6P4ud+jd2SE5q1/8SUVFODJvsJJWvaL1jp/bqr93Fmx ifBahrQwxNqdpsfIMVxwNw/v0Ld8GmtPTCsGDvHYUL5v+Z78qi6ugEan8ZVIxphy+uFota snhMt2+d3wWAKZI4Pkq6s7oedxWchT9KdnWxZxZohh6NnzmLpcnkGn3dJ3X6OzC2vXd/8j 0d0WqE18D65CBB0KgnHiimtlvblb9QfTfyfVIqbY6JwWR2lwmifLr86VurM1qQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730197185; a=rsa-sha256; cv=none; b=nIwrQf31DvBojWWqztZ04EGs+6TTrDbbGNRTuuUjJTQ/0DIQcxq+NgrZUl1wCvql10jvEy qGrGckVtOEYN8NFlAR3fbLbhRrhcSb1mj/I1h4SRS+w8AYWG2auloXJh9wvj92l640QvaV 7OLl4EmBB8SEYEiIuZA8hsCquHxewutyYEK+9uVf7hwIh3VSp0A9hvkq5cMHPdYdm1Di4Q LMV6GLGhzyQVnmKgA7HuHf3SgpKon3tnTq4gBKuZ7410XstZ1muZ5Fhx5AKK9v3cYa4T3J sXdwH+yTLGHrSVo++z4W2GnOp8RTDZ2ZSj0L/+FrpgP5q2aIEvYhN3nXxPUp7A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4Xd5pm6fp9zJD9 for ; Tue, 29 Oct 2024 10:19:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49TAJiZa034548 for ; Tue, 29 Oct 2024 10:19:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49TAJiiH034547 for x11@FreeBSD.org; Tue, 29 Oct 2024 10:19:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 282399] graphics/drm-kmod: kldunload drm_managed and debugfsint amdgpu leak memory Date: Tue, 29 Oct 2024 10:19:45 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-x11@freebsd.org Sender: owner-freebsd-x11@FreeBSD.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-x11 (Nobody) for maintainer-feedback: Bug 282399: graphics/drm-kmod: kldunload drm_managed and debugfsint amdgpu = leak memory https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282399 --- Description --- # uname -aKU FreeBSD afrodite 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64 1401= 000 1401000 # pciconf -lv (...) vgapci0@pci0:0:1:0: class=3D0x030000 rev=3D0xc6 hdr=3D0x00 vendor=3D0x1002 device=3D0x9874 subvendor=3D0x103c subdevice=3D0x805b vendor =3D 'Advanced Micro Devices, Inc. [AMD/ATI]' device =3D 'Wani [Radeon R5/R6/R7 Graphics]' class =3D display subclass =3D VGA (...) # kldunload amdgpu # dmesg (...) iic3: detached iicbus3: detached lkpi_iic3: detached iic4: detached iicbus4: detached lkpi_iic4: detached iic5: detached iicbus5: detached lkpi_iic5: detached Warning: can't remove non-dynamic nodes (dri)! drmn0: amdgpu: finishing device. drmn0: detached Freed UMA keg (drm_buddy_block) was not empty (83 items). Lost 3 pages of memory. Freed UMA keg (drm_sched_fence) was not empty (1 items). Lost 1 pages of memory. Warning: memory type drm_managed leaked memory on destroy (13 allocations, = 832 bytes leaked). iic0: detached iicbus0: at addr 0 iic1: detached iicbus1: at addr 0 iic2: detached iicbus2: at addr 0 Warning: memory type debugfsint leaked memory on destroy (2 allocations, 80 bytes leaked).