🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #13008

Re: [PATCH net 2/2] net: add a KUnit test for the alloc_skb_with_frags() tail split

#13008
From: Haishuang Yan
Date: Mon, 09 Nov 2026 14:41
15 lines
9299 bytes
On Mon, Nov 09, 2026 at 02:07:13AM +0000, netdev-bot+sashiko@kernel.org wrote:
> Would it help to reference that commit by its subject (or sha once it
> is merged)?

Yes, v2 names it by its subject.

> Can this assertion fail on a system with fragmented memory, even with
> the fix applied?
[...]
> Would it be more reliable to call kunit_skip() when the order-3
> allocations cannot be satisfied?

Yes. In v2 the test skips instead of failing when the allocation fails
and an order-3 page can't be allocated either.
Technical Details
Message-ID: <20261109144113.36600-1-yanhaishuang@cmss.chinamobile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359048-linux-kernel-netdev=dewy.ru
References: <20261108100617.23840-3-yanhaishuang@cmss.chinamobile.com> <179419003377.994134.4899199888022081447@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359048-linux-kernel-netdev=dewy.ru
From: yanhaishuang@cmss.chinamobile.com (Haishuang Yan)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 2/2] net: add a KUnit test for the alloc_skb_with_frags() tail split
Date: Mon,  9 Nov 2026 23:41:06 +0900
Organization: Usenet Network
Message-ID: <20261109144113.36600-1-yanhaishuang@cmss.chinamobile.com>
References: <20261108100617.23840-3-yanhaishuang@cmss.chinamobile.com> <179419003377.994134.4899199888022081447@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="291599"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:5xsltIl7ZoIDQk0uTE6JPA9Vh/U= sha256:UP9uG1rVym2V+y0dcdObap1yKLuhngOTmbZdomf9cHE=
	sha1:QDcRxXY7/dLZmi6xToIx3KpvNyc= sha256:FiCjOCd/RzAtOnmof32/3P1q4XtZMbB+xZPwVdHeOKo=
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 4858C1136ED; Mon,  9 Nov 2026 09:43:26 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.75
X-Spam-Status: No, score=-2.75 tagged_above=-9999 required=6.31
	tests=[DATE_IN_FUTURE_06_12=0.001, DCC_REPUT_70_89=0.1,
	DKIM_INVALID=0.1, DKIM_SIGNED=0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=fail (1024-bit key)
	reason="fail (body has been altered)" header.d=cmss.chinamobile.com
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 9AmKDEVMXS44;
	Mon,  9 Nov 2026 09:43:23 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-359048-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=cmss.chinamobile.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 42FA21136D9; Mon,  9 Nov 2026 09:43:15 +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 E646A3DE15; Mon,  9 Nov 2026 06:41:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
	t=1794206507;
	b=1kWvFDEfEDGysqUsS0lSqi+OtPEu1FK3VapfQmFMHDfVUuiXqh0Fi4TGn0vWBz8rilnK
	 6Wh4pEfFMTnJG+HPcpLXUqNsKr1x4M6nPIuAQBWJIzRysVuGKM82HOuYbuj0vh9naSpGT
	 RUbNWobDanmJB/rl8pWSnz+JymdEuZ1aK5qe3Ydxmyk/WBoHwgbWOqNi4NBEPYW+isvaC
	 whlitCZVIQcvzS2gumXCJ2QyrSr5crCUgiHebQ9Z5gnzNL/wVqwGJ+Kyitd8Jfusn0/eG
	 0335M57eM4Zzo3ZXbuvzf7iRb0KmfhvkPzKxYhRapskSPyjDOcllohnbd/pPyYS7mFw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794206507;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:X-RM-TagInfo:
	 X-RM-SPAM-FLAG:Received:X-RM-TRANSID:X-RM-TagInfo:X-RM-SPAM-FLAG:
	 Received:X-RM-TRANSID:From:To:Cc:Subject:Date:Message-ID:X-Mailer:
	 In-Reply-To:References:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding;
	bh=b4NG28+Ff2oTIi9k9M1agvKHdqFEhBLZ2FfrsTN1o5o=;
	b=Ap8yMu3GZnv9FGviQbHPPCdtVJbDLSB/ETv4HgBYblBnU2Ne0eUOtUGKxzvFm82WWYyR
	 RXpNN/E2mDZRxEucTk5oxKAzDuuq/cRP7TFKLOsHP7itC+ryL4izegoUwLfLK8jZbLK3c
	 rux7Gem8uyc6bgAffbgmFbVlijQuuz8ZfdZQ0RHuG4KP1tQGKkM9exQdT+5l7XuuKEktF
	 wlLctnGw65QCbSW+v7khAzwrW1JtgiG9zcw4lrjkNhhE41ZD0wbwOGz9difepTKIycbq3
	 hVFe8svlpDpIOmjlRZr5iIB6bo4snM9siD5n7d52XiThT/m3o3Yu76DZ/nIeRNILylA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=cmss.chinamobile.com header.i=@cmss.chinamobile.com header.a=rsa-sha256 header.s=default header.b=KSGCgNY7;
	dmarc=pass header.from=cmss.chinamobile.com;
	spf=pass smtp.mailfrom=cmss.chinamobile.com;
	arc=fail 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 A1FAC606A330;
	Mon,  9 Nov 2026 06:41:47 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=cmss.chinamobile.com header.i=@cmss.chinamobile.com header.a=rsa-sha256 header.s=default header.b=KSGCgNY7
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=111.22.67.139
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794206496;
	b=QGX/BTAWF2w5Scp/dZT9DeAiRb1xjAyJ/e+tlNYfhRqTeqz2OE4VzF8787MQvx2s5H5/
	 wshSinYDpNskLaDOEoUeX/SkI6Hgp66z9LofRd4QCV+4sEdSwdvrdiB8P7CkYloYvJvRO
	 pRNeIQmutJm+iO3OeoQzBZsAdYAOuksTxWjF/Erj74spIhS3Ux4LlgtDTWCLio7vilrw4
	 o7muTIIWUjro00vFyaOeEMOTWEO4B950uxiwrkBd+YnVT0zqheWgWYGoyRgkgrfZmxRXy
	 9pL0RbantakHbPNMFMDFfOtb13o3oQjISVb72ny7boOw7Wy8Tsc7h+4rhsiBMHY0Skw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794206496;
	h=DMARC-Filter:DKIM-Signature:X-RM-TagInfo:X-RM-SPAM-FLAG:Received:
	 X-RM-TRANSID:X-RM-TagInfo:X-RM-SPAM-FLAG:Received:X-RM-TRANSID:From:
	 To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
	 MIME-Version:Content-Transfer-Encoding;
	bh=b4NG28+Ff2oTIi9k9M1agvKHdqFEhBLZ2FfrsTN1o5o=;
	b=UVYb1uEMTp1jHwLr3XkLJFw8Wc40Fdky7OUq/p6U8V/7GtI3l52bCO1E9mJqzzyzKJid
	 TdOC2evsQLmisAA3lMky4YraAc4wS0YRxmObKonzOH13SJThBFuxPw6Vbw8XzbNf6uMo6
	 fs/Q7DyMFKKFAkubDXiVJx/Qfw/YEgBW4Sz4fBN0ADCO7qEAnks+523cOfKt3BQNqyf9O
	 hLPtEIiKZw0/2FutP96I29edeZbN69JaA7sxXXEBucLZfqp+/HW0o+d1zQoRC0V7j5GxM
	 E3Hjdd6vMg5wa/l6dAOzpKjy1qI1tpmGrRhmr3wjWnIyjXK6kmYRJxbjd/wjWgJGlJg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=cmss.chinamobile.com;
	spf=pass smtp.mailfrom=cmss.chinamobile.com;
	dkim=pass header.d=cmss.chinamobile.com header.i=@cmss.chinamobile.com header.a=rsa-sha256 header.s=default header.b=KSGCgNY7;
	arc=none smtp.remote-ip=111.22.67.139
X-Received: from cmccmta6.chinamobile.com (cmccmta6.chinamobile.com [111.22.67.139])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 478D8606A31C;
	Mon,  9 Nov 2026 06:41:34 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 478D8606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmss.chinamobile.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmss.chinamobile.com
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=cmss.chinamobile.com; s=default; l=0;
	h=from:subject:message-id:to:cc:mime-version;
	bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=;
	b=KSGCgNY7PLDxRTZGYg34RiQ9JuzV8gwR1bXmFef1QpioYhuQoXOZ/GiX9vILwFqnBXukhE6doHEBK
	 fsEMi93sKBulcHCBeyn5/0zmjiQZ+VA8e87QQLu2b9UxPF06n5yPBRDLyC0iFsD87c+bNldauGnHPg
	 UkCk2YrEOIocWck4=
X-RM-TagInfo: emlType=0                                       
X-RM-SPAM-FLAG: 00000000
X-Received: from spf.mail.chinamobile.com (unknown[10.188.0.87])
	by rmmx-syy-dmz-app01-12001 (RichMail) with SMTP id 2ee16af16b1d1e3-9d57a;
	Mon, 09 Nov 2026 14:41:33 +0800 (CST)
X-RM-TRANSID: 2ee16af16b1d1e3-9d57a
X-RM-TagInfo: emlType=0                                       
X-RM-SPAM-FLAG: 00000000
X-Received: from openEuler-24.03.03 (unknown[74.82.203.40])
	by rmsmtp-syy-appsvr07-12007 (RichMail) with SMTP id 2ee76af16b0cff7-849c3;
	Mon, 09 Nov 2026 14:41:33 +0800 (CST)
X-RM-TRANSID: 2ee76af16b0cff7-849c3
X-Cc: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>,
	davem@davemloft.net,
	edumazet@kernel.org,
	kuba@kernel.org,
	pabeni@redhat.com,
	horms@kernel.org,
	willemb@google.com,
	mst@redhat.com,
	jasowangio@gmail.com,
	eperezma@redhat.com,
	willemdebruijn.kernel@gmail.com,
	narcisav.kernel@gmail.com,
	linux-kernel@vger.kernel.org
X-Mailer: git-send-email 2.43.0
X-In-Reply-To: <179419003377.994134.4899199888022081447@kernel.org>
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