🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #17520

Re: [PATCH] net: kunit: move struct net_devmem_dmabuf_binding off stack

#17520
From: patchwork-bot+netdevbpf
Date: Tue, 17 Nov 2026 00:00
30 lines
9028 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 13 Nov 2026 11:11:00 +0100 you wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> The net_devmem_dmabuf_binding structure is really way too big to
> live on the stack, and causes warnings on my randconfig build machine
> with a reasonable per-function limit:
> 
> net/core/net_test.c: In function 'netmem_ref_test_tcp_devmem_recv':
> net/core/net_test.c:1720:1: error: the frame size of 1744 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]
>  1720 | }
>       | ^
> net/core/net_test.c: In function 'netmem_ref_test_skb_segment':
> net/core/net_test.c:1477:1: error: the frame size of 1584 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]
> 
> [...]

Here is the summary with links:
  - net: kunit: move struct net_devmem_dmabuf_binding off stack
    https://git.kernel.org/netdev/net/c/271884902742

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179487360852.250117.8355978177760085009.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364836-linux-kernel-netdev=dewy.ru
References: <20261113101109.3227815-1-arnd@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364836-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] net: kunit: move struct net_devmem_dmabuf_binding off
 stack
Date: Tue, 17 Nov 2026 00:00:08 +0000
Organization: Usenet Network
Message-ID: <179487360852.250117.8355978177760085009.git-patchwork-notify@kernel.org>
References: <20261113101109.3227815-1-arnd@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2198755"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:h+VOaFGmZCKOyW4YyGRdueSHvng= sha256:IA9zfwSlDRwc3dFXOfzIcY9+NA5L0kCoWOcyEh3hmQY=
	sha1:GGcUIH+XO0Znb0CCm1+l5K8gkNs= sha256:eUvZV+5xrZvReqU6NbkZp45ZCi5/tea+qV4JadFOH/4=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id B81A1114DCA; Tue, 17 Nov 2026 03:00:32 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 428GOYr0oigo;
	Tue, 17 Nov 2026 03:00:29 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-364836-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 11771114DC6; Tue, 17 Nov 2026 03:00:20 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 330AB31265; Tue, 17 Nov 2026 00:00:13 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794873611;
	b=27JqIcIoMtSrEdNGN0HuZyAZ13/aigb0iAFCF77G3zAaAwTXpi5Us+w35tU2k2CZV0zD
	 90FQjnr0dtPN8iVYA6b4bP4qpZUf+xKIjr60EMWZW7eNiXVEesvJgpWnZl2JFInruaYlq
	 tN++SmAZRwZFfrE2be1O3LUPD6Nohf7V8EnD2toz6gJHJNiQWXSFzJkFUIj5Bp6gVfq+O
	 L1Wrq9cFV2Wq5UK34OlIjfoGg09teY6LAzKeJPXLQoWpxqLEUwiiHuaaW2sy/4fYXSx2M
	 G+k5RwE6KZLAqBUs19E6nI9Kax8zn+3UrlCru+4kIPBCe5cNhjwacqoJmEQFHDifWow==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794873611;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=OdZQQt6syitoBc9C2HEDvAOoOewrXacI5OUEL4JbqQY=;
	b=NI1sSU9ZcqSkSW+M4oJMlrIveqDbMdYRO7c2/TcLuFwlFqSFCRfReDD4K7TFg0mRM3ZJ
	 wHciWu5mC7DIMDYJm4taepWmQbTMDD6ZDqJVCVOK3lAf5nmAs42vGdiSLXKzP5r13q5J/
	 4xHVfQktZu7iI5OW7koD0pegGeTgs9SQMBi2bLYxvy0zZxvpiv0/8N5NmkzsGWcrYXe14
	 6VXVzdTBCw+Jm8auAOk0y1bOjdT11I+CWtv7PdFcNdkpBNNSEDGprcT9H1VXlOVqJndRT
	 VYRIsDIHBWjW3ctZmYfC5QlM7y5FB7QANFKiWPyPQA79DZV9sFiptUrTKM89NDXyu1w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nw2+AGag;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 22B2E606A329;
	Tue, 17 Nov 2026 00:00:11 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nw2+AGag
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794873610;
	b=BqXHe7JL84kE2+Lc1dHlyQUurK8Ht6+hFSKYEqziunyOWy2Sf+oxrZghWUyXRbx7A1WS
	 PqaEMV7HdxTftDY3hA4KTbKFqozxSOenKAroTCbqyol3tQv1yDJ3YM46na+hsjFgHQafn
	 QAxfaFlhX/HXhU17D+qXbk87BFpRh38gRaVr4KtRXPg/N8CV7uYTCiD2J54AT1GoYmFm8
	 etcIoD0VK93oxVRQbS7DzYxEcZdZfSsPfRsnqrrzUV6eb/RzaqdEBlAVS/lleGJoG+c8w
	 xHZI20Ch0h+BG17Xj1GbJi+H3PWvQPDwVzxByj0d2NIi/4g7uyQ2sEqOE1MS8D95tzQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794873610;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=OdZQQt6syitoBc9C2HEDvAOoOewrXacI5OUEL4JbqQY=;
	b=HxHDCi3ThrudLgDhyTeqzyBFvnVWrtljBCYTR2c7/GYRgAcmsafajnllXFsS7qboOgCA
	 Q3xqftO8LoVICKJN7YHLRFQgN6Fs6+0nRk1khnmpfcRtg3RDjVRProRUBs4BP6ihoU0OL
	 al6sKKdQsyba+9hiR0DNHX6qL7bgts+yZfT33pqi3b3OIwKU8afLKuMRsoMzS0314dWLm
	 rOfVBNAQ9tn4D5K4lHVUk0QO0PKyImqJStvt3q18qZLUsxvSeJC862QRAd7zf18e+yTaZ
	 4CrKlEFG5tjEW5L7brgcXNa0/2G4nstEvRyJgT/V0ddLN4Eak8fh1/TlIDVtk7thMcg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nw2+AGag;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 418E6606A884;
	Tue, 17 Nov 2026 00:00:10 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D09D1F000C7;
	Tue, 17 Nov 2026 00:00:10 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794873610;
	bh=OdZQQt6syitoBc9C2HEDvAOoOewrXacI5OUEL4JbqQY=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=nw2+AGag5DMdSS05Miu0Qc/9mj4DJiULdGBeKA5tF1K0AB7XsvuJv8ayR46JaTYBj
	 jOsY4G7p5wElgK15r0JJFVTwRKcMOxuWT+9O4N4S7IwMv1iV19MMdCP5BdRspMsUOn
	 Z8zo86io6CcGydNJWr3+nacH88mhLF/J9Zdj5riAcabcSsTqzSbslp3m/x6mzZ5E1E
	 Ur0DgCmyxV3uUlZ4Db78HhG+d9LfnTpWHhQOF9rCR79rkKPQMMLwkuJliKQMPLQvj7
	 6Dz4oxM3uN2CGwLMqrDN0rLptSrZ2XglWlMkL7DV+RNm/9W5vuayCTfAn1olgEKDqE
	 vVzDpc7Jyd+8g==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id F0221391B06A;
	Tue, 17 Nov 2026 00:00:09 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261113101109.3227815-1-arnd@kernel.org>
X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, aleksandr.loktionov@intel.com, sdf@fomichev.me,
 almasrymina@google.com, arnd@arndb.de, horms@kernel.org, willemb@google.com,
 josef@toxicpanda.com, wang.zhan@smartx.com, daniel@iogearbox.net,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org