Skip to content

ring: enforce reading the tail before reading ring slots

Gavin Hu dpdk-dev 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest1 patch 3 repliesApplied

Change log from the cover letter

-V1: First version of the patch.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/1ring: enforce reading the tail before reading ring slotslib/librte_ring/rte_ring_generic.h+6 -33 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchOla LiljedahlNipun GuptaKonstantin Ananyev
1/1R-b T-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/1] ring: enforce reading the tail before reading ring slots

Change log:
-V1: First version of the patch.

-V2: Update the commit message to describe the ordering of detailed memory
accesses.

-V3: As suggested by Konstantin Ananyev, remove the rte_smp_rmb for enqueue
case, as there is a control dependency in place, making rmb unnecessary. For dequeue case, it is still required as the control dependency does not order loads with loads.

gavin hu (1):
ring: enforce reading the tail before reading ring slots

 lib/librte_ring/rte_ring_generic.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
Signature · 1 line
2.7.4