DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v2 0/1] ring: correct ordering issue in head/tail update
@ 2025-10-02 17:41 Wathsala Vithanage
  2025-10-02 17:41 ` [PATCH v2 1/1] ring: safe partial ordering for " Wathsala Vithanage
  2025-11-10 10:17 ` [PATCH v3 0/1] ring: correct ordering issue in " Konstantin Ananyev
  0 siblings, 2 replies; 10+ messages in thread
From: Wathsala Vithanage @ 2025-10-02 17:41 UTC (permalink / raw)
  Cc: dev, Wathsala Vithanage

Hi all,

This patch fixes a subtle ordering issue in the ring code that can lead
to incorrect behavior under certain conditions. The change adopts a
solution that balances performance with compatibility for dependent
libraries.

For background, motivation, and validation (including Herd7 litmus
tests), see the accompanying write-up:
https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/when-a-barrier-does-not-block-the-pitfalls-of-partial-order

V1->V2:
  * Switched from squashing unsafe partial orders (solution #3) to
  * establishing a pairwise happens-before relationship between the
  * producer and consumer heads (solution #2).

Wathsala Vithanage (1):
  ring: safe partial ordering for head/tail update

 lib/ring/rte_ring_c11_pvt.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-11-11  7:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-02 17:41 [PATCH v2 0/1] ring: correct ordering issue in head/tail update Wathsala Vithanage
2025-10-02 17:41 ` [PATCH v2 1/1] ring: safe partial ordering for " Wathsala Vithanage
2025-10-08  8:00   ` Konstantin Ananyev
2025-10-13 18:09     ` Wathsala Vithanage
2025-11-06  8:15       ` David Marchand
2025-11-10 10:25         ` Konstantin Ananyev
2025-11-10 19:13           ` Wathsala Vithanage
2025-11-11  7:48             ` Konstantin Ananyev
2025-11-10 10:17 ` [PATCH v3 0/1] ring: correct ordering issue in " Konstantin Ananyev
2025-11-10 10:17   ` [PATCH v3 1/1] ring: fix unsafe ordering for " Konstantin Ananyev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).