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

