All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <hawk@kernel.org>
To: netdev@vger.kernel.org
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>
Subject: Re: [PATCH net 0/3] veth: fix lost NAPI wakeup with threaded NAPI
Date: Mon, 30 Nov 2026 12:35:08 +0100	[thread overview]
Message-ID: <d537709f-398e-4eba-bf9d-27fc77e82ed3@kernel.org> (raw)
In-Reply-To: <20261130094000.2022376-1-hawk@kernel.org>



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

  parent reply	other threads:[~2026-11-30 11:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  9:39 [PATCH net 0/3] veth: fix lost NAPI wakeup with threaded NAPI hawk
2026-11-30  9:39 ` [PATCH net 1/3] veth: enable dev_watchdog and recover stalled peer NAPI hawk
2026-11-30  9:39 ` [PATCH net 2/3] veth: order rx_notify_masked store before __napi_schedule() hawk
2026-11-30  9:40 ` [PATCH net 3/3] veth: order rx_notify_masked store in the veth_poll() re-arm path hawk
2026-11-30 11:35 ` Jesper Dangaard Brouer [this message]
2026-12-01  7:19 ` [PATCH net 0/3] veth: fix lost NAPI wakeup with threaded NAPI Simon Schippers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d537709f-398e-4eba-bf9d-27fc77e82ed3@kernel.org \
    --to=hawk@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=john.fastabend@gmail.com \
    --cc=kernel-team@cloudflare.com \
    --cc=kuba@kernel.org \
    --cc=matt@readmodwrite.com \
    --cc=mkroemeke@cloudflare.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sdf@fomichev.me \
    --cc=simon.schippers@tu-dortmund.de \
    --cc=toshiaki.makita1@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.