On 11/30/26 10:39, ha…@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