[PATCH 3/5] ring: use C11 for update_tail
Konstantin Ananyev
konstantin.ananyev at huawei.com
Thu Jun 4 17:39:52 CEST 2026
> The GCC builtin atomic special case is not needed for updating tail.
> The performance is the same with C11 memory model.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> lib/ring/rte_ring_c11_pvt.h | 24 ------------------------
> lib/ring/rte_ring_elem_pvt.h | 22 ++++++++++++++++++++++
> lib/ring/rte_ring_gcc_pvt.h | 25 -------------------------
> 3 files changed, 22 insertions(+), 49 deletions(-)
>
> --
Acked-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>
> 2.53.0
More information about the dev
mailing list