[dpdk-dev] [PATCH v1 0/2] ring C11 library fix and optimization
Thomas Monjalon
thomas at monjalon.net
Tue Nov 13 16:57:49 CET 2018
09/11/2018 12:42, Gavin Hu:
> V1:
> Update the ring C11 library including the following changes:
> 1) On relaxed ordering platforms(like Arm64,PPPC), in ring C11 implementation,
> loading head and tail might be reodered, this makes CAS(compare and retry
> the flow if the head is outdated) not working as expected, the fix is to
> ensure the head is read before the tail, leaving no chances of the combination
> of outdated head and new tail.
> 2) With the above memory fence introduced, some loading can be relaxed.
>
> Gavin Hu (2):
> ring: keep the deterministic order allowing retry to work
> ring: relaxed ordering for load and store the head
No comment, so I guess it can enter in 18.11-rc3.
Applied, thanks
More information about the dev
mailing list