From nobody Thu Jan 9 00:00:06 2025 X-Original-To: wireless@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 4YT4fb0gSKz5kGZK for ; Thu, 09 Jan 2025 00:00:07 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YT4fZ6QpNz4sGS for ; Thu, 9 Jan 2025 00:00:06 +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=1736380806; 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=bQFNrodCEWKHgF0IoqKQiygP9r6Dgi+FjBwjnUEJ/fo=; b=gm6VZQ6W4voDIH+uiwV5TBgaxkmOoEeun45GQxAgGxtSdl3yVZ+6ydPimwhUF9RnNVNtTd YWioM++CaAyaLK41GLRT/152JE1K18bb3u+Tgs0BCg0Lnf0NFRLYsv6yLGUgfw2DKo+XQW I32APUzRYb2GRcGb6PpC9S0J+uBx6KznhO94A5yVdcv/XBiLnsU4gwrwyAxJiOKZ11hFvB 2wrKl91tXjaI+dxZfEFhi4ljUEeQnB1DXh0HVh2BVlnO8+7GqN7A7zgMJBpmD8ERJs/Dzh vbGTJJWOhoxTV6+FVjb6fK5TzNwXAQ7q9hWBvLz1pxNCF2zzhddGRZ9SiGpfsQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736380806; a=rsa-sha256; cv=none; b=HhPLn9NzBLrBZZsXwpJHTTc/gP+/TqE2NgaXIrSq2JIyF45SK+r8l1AkyizDssREr2Amm8 juw7OKuejWKWnYn30H9MoTbjZ1oQl9ycAa9ACYJWWF9FbFWFPFCpWru903D+WECqvDNeli 7ffr0Ql7QrdkM3rzs+kMO2i5aYNC5sZ7NWQYK9lNEJ+LkIJlhehU0BHl1EgFZuF4E46pCY pqnoUhUYVuArkwlgZjEvphQ6CjlPmmlwCxtWzgse2yhhgk0wI7nLwjkS/yfVlhnTigRZ0c T955AdGr2U8nvhX1f4+W4SxO0bL2G5U+uBdvhwkn1/8ITnleHdRgzFZWRnr5Gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YT4fZ5S1Sz1GrQ for ; Thu, 09 Jan 2025 00:00:06 +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 509006Ik022621 for ; Thu, 9 Jan 2025 00:00:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 509006kQ022620 for wireless@FreeBSD.org; Thu, 9 Jan 2025 00:00:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 283903] rtw88: possible skb leak Date: Thu, 09 Jan 2025 00:00:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guillaume-freebsd@outters.eu X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283903 --- Comment #3 from Guillaume Outters --- Here it seems to happen only after memory has been exhausted at least once: after a reboot there *always* (see (1)) have to happen a bunch of "kernel: = pid xxx (xxxxx), jid 0, uid 1001, was killed: failed to reclaim memory" (2) bef= ore any "skb alloc failed" appears. Could it be that the leaks only happen after some allocations have been confined to the swap, and then even when mem gets freed the driver is unabl= e to regain its ability to allocate elsewhere than to swap? (please forgive my FreeBSD and VM newbiness if my hypothesis is filled with inaccuracies and nowhere near reality)=20 (1) { bunzip2 < messages.0.bz2 ; cat messages ; } | egrep alloc\|memory | awk '/real memory/{s=3D"0 boot"}/failed to reclaim memory/{s=3D"1 killed"}/skb = alloc failed/{s=3D"2 skb"}old!=3Ds{if(old)print n" x\t"old;n=3D0;old=3Ds}{++n}' (2) Repetitively building a full LLVM for all its architectures + clang + compiler-rt, with make -j4, on a 8 GB laptop. --=20 You are receiving this mail because: You are on the CC list for the bug.=