🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24579

Re: [PATCH net 0/3] veth: fix lost NAPI wakeup with threaded NAPI

#24579
From: Jesper Dangaard Brouer
Date: Mon, 30 Nov 2026 11:35
27 lines
9052 bytes

On 11/30/26 10:39, hawk@kernel.org wrote:
> herd7 litmus tests back both patches, for LKMM and for herd7's arm64
> model. Without a barrier, the bad state is reachable. With patch 2
> only, it is still reachable through the busy poll re-arm. With both
> patches, no test reaches it. Tests and results:
> 
>    https://github.com/netoptimizer/veth-backpressure-performance-testing/ 
> pull/15

Merged and avail as: [1] [2]
- 
https://github.com/netoptimizer/veth-backpressure-performance-testing/tree/main/memory-model

Full disclosure, it was the the LLM (Claude Fable 5.2) that went above
and beyond analyzing the memory barrier against the Linux Kernel memory
model (tools/memory-model/). I don't claim to understand the herd7
litmus tests myself.

--Jesper

[1] 
https://github.com/netoptimizer/veth-backpressure-performance-testing/tree/main/memory-model#readme
[2] 
https://github.com/netoptimizer/veth-backpressure-performance-testing/blob/main/memory-model/RESULTS.md
Technical Details
Message-ID: <d537709f-398e-4eba-bf9d-27fc77e82ed3@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374135-linux-kernel-netdev=dewy.ru
References: <20261130094000.2022376-1-hawk@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374135-linux-kernel-netdev=dewy.ru
From: hawk@kernel.org (Jesper Dangaard Brouer)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 0/3] veth: fix lost NAPI wakeup with threaded NAPI
Date: Mon, 30 Nov 2026 12:35:08 +0100
Organization: Usenet Network
Message-ID: <d537709f-398e-4eba-bf9d-27fc77e82ed3@kernel.org>
References: <20261130094000.2022376-1-hawk@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1414252"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:8sM0RexlwY4AIakkhrZTuyCWXkE= sha256:CeZPyxzJ5G9HUbTFozPpXAqjoAHsWXdK+LCTOyMijLY=
	sha1:Rn549dEoKg7x2433Se7o7ILeBBA= sha256:JTa/pOZas5skwY5zSvCRqnfa9t8ggYdeAgVmOawZdps=
Content-Language: en-US
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 B5FAC125FDD; Mon, 30 Nov 2026 14:35: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 kHTmRRmvovBc;
	Mon, 30 Nov 2026 14:35: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-374135-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 1B221125FD9; Mon, 30 Nov 2026 14:35:21 +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 9C2AA29E84; Mon, 30 Nov 2026 11:35:19 +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=1796038519;
	b=J/43TKj2EgP9dx6bR0sAH6PxJU0X+NWaJIhI53ccv9wEYekUASL1gqQMdMpSpnYV+AFv
	 nHLOrr1pjLiUHmq2jQExZy22PVhZOkzbwk1egTe31nlZaW3QtVNEJrrGRKXPrgoFofAnH
	 lPDQvi+3g1B+g7jkYHaWTKvihBvYDnZ3whdutee4pH3Hm+++7ubH6fQwxDxfyN2YkfAJx
	 J07OVEao/fTcgk0AO2iQ8usuVmWcfD5Bu+/LtMTQUFoPmfxNeel+30QtyPfPrfq5O0/OA
	 H42epBAu5JHG+Xe4kSt6Vf7yBNHjXGzBTTUuxIhCjSCEVyKGgysJ9+6jotRKr4zpbUg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796038519;
	h=X-Original-To:Received:Received:DKIM-Signature:Message-ID:Date:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:User-Agent:
	 Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding;
	bh=tvL5JGmk6JHGkh1vKHVenGjOj8M5sLSUH4XpMkMOv38=;
	b=f379Etl8AMFsbU6UCCbQ5DZUvsZohe5ds8uYGVTaCtah6dvMehmiTPyPZSVJwldauIYZ
	 qt+O1FRHfWaFcFnYDEpBRoldetdZeSVir8hCC2Zx7Vn0KI2EDeUxPeOh1AbTbUKxi3FB0
	 kVwtN4As2jtdAkt1zo5sl0kDTrIjAj/HnHZRP4axX3o7x6Cp7xNqyAJ5L9aXAHBL9+EuU
	 5gDaujHIu/e/Zaw5g7mzxNoSTnU/jmEJ33D8XWF/ml7D22P6RCKWprBbmbq0rbnLCkicA
	 J0TJFuDWspY5F9zx8ajUI3OOF/jh2m8x82+X+BwqdpAlpgzNThlPFzbuSDOZ1B5tZYA==
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=Xg7kG0Zc;
	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 7223E606A329;
	Mon, 30 Nov 2026 11:35:19 +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=Xg7kG0Zc
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=1796038513;
	b=1WzCn45JU1+F82s3j8qrdca/C+oAEAkMYzHt5q9cXDn9MbTZfqGbaV+J/8dD/Gscg3Ht
	 X+ULbAPSVtWCSJFs9nNspTdCvINyPQXizVE7kwYQ6sIgCiq2pFVcczSieoKp8uFo5jWT8
	 883nVOpELdEx2uhZT5YsZqc7TTckBz8y5wtxnZ0oXxE8r/ZmDCaOFxkfbsPir794DcZXS
	 hbLltcjT0dzQlT6bgBGa0dGdojbnJMdOWDa5W1HRnr5l5kzmYfe0I4BiklAXfgiY4fDhf
	 iYdDKBcL2j/+O8wPYwI7JmkgK5BZ32ujkxvE79B94EJ/jm/ZKCOZd03iRYVLtEkGxAQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796038513;
	h=Received:DKIM-Signature:Message-ID:Date:MIME-Version:User-Agent:
	 Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding;
	bh=tvL5JGmk6JHGkh1vKHVenGjOj8M5sLSUH4XpMkMOv38=;
	b=1Hxwe2tj+m5RUxqgzMFgAaK289ymxY5VTwy7Vq+6RBI4RNE5FQrdHx2nsOGGwyO3Hjr1
	 biEWgw8AIvgoWPo6EnIKhUG3FSz2Zsr71fLXvw//+wFr7g+YXUJvufR4kTt3x7S0JpzD6
	 v1p6q576XCbAYaEBwIguYxz9WkgkEtcQTT/GFBJVvc6xeeiRl36hh4BwzeRYXZ2eeBLms
	 BZPOOVMiHvcvkr8/odRywzN2xF1LjXLuRRTKxEopyF/rMMygVJkvLFEec0R6YvQdlWUGD
	 zuX0sBSJ+i9yWK9pXEqEG7pBnToCJwoKRjhsUfqrw3pf1pJQzYzYlHzaS6tGrQ9L6Mw==
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=Xg7kG0Zc;
	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 915F5606A320;
	Mon, 30 Nov 2026 11:35:13 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEC471F00896;
	Mon, 30 Nov 2026 11:35:09 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796038512;
	bh=tvL5JGmk6JHGkh1vKHVenGjOj8M5sLSUH4XpMkMOv38=;
	h=Date:Subject:To:Cc:References:From:In-Reply-To;
	b=Xg7kG0Zc+5z4r6cdWCdI24BloLvxgsstt/LkcWdjhoMfkSThDfKLnHuv+lZND5lZo
	 B3c90QH+0MTIfS6aebcCyGngAjrwbg4jAXuZraJgs1yIghIB1/rjlhm9H/hBvuCdOo
	 R6k4oZFqI98AHVAsb6Fh6/lDFoq6B4SLq5jqpttLeSWID6fhXeCmxfckrrMYvz+EOP
	 eefD6kGs0oN8QKYev2hNz4cljhI59+D07K1VcURNVEmKghmFl/JKY4obOMlPWhRcpt
	 PkxIY8QWn3afgzsDRJOzhvHcnrdMFYzroenzAG9EY0DiJDfiyw768jFooSMZv9VweV
	 F3gp6RTuTq8CA==
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-User-Agent: Mozilla Thunderbird
X-Cc: bpf@vger.kernel.org, mkroemeke@cloudflare.com, matt@readmodwrite.com,
 kernel-team@cloudflare.com, simon.schippers@tu-dortmund.de,
 Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller"
 <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>,
 Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
 Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>,
 John Fastabend <john.fastabend@gmail.com>,
 Stanislav Fomichev <sdf@fomichev.me>,
 Toshiaki Makita <toshiaki.makita1@gmail.com>
X-In-Reply-To: <20261130094000.2022376-1-hawk@kernel.org>