> 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 <[email protected]> > --- > 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 <[email protected]> Tested-by: Konstantin Ananyev <[email protected]> > 2.53.0
- [PATCH 0/5] ring: convert to C11 atomics where practica... Stephen Hemminger
- [PATCH 1/5] ring: split single thread vs multi-thr... Stephen Hemminger
- RE: [PATCH 1/5] ring: split single thread vs m... Konstantin Ananyev
- [PATCH 2/5] ring: use GCC builtin as alternative t... Stephen Hemminger
- RE: [PATCH 2/5] ring: use GCC builtin as alter... Konstantin Ananyev
- Re: [PATCH 2/5] ring: use GCC builtin as a... Stephen Hemminger
- RE: [PATCH 2/5] ring: use GCC builtin ... Konstantin Ananyev
- [PATCH 3/5] ring: use C11 for update_tail Stephen Hemminger
- RE: [PATCH 3/5] ring: use C11 for update_tail Konstantin Ananyev
- [PATCH 4/5] ring: drop unused arg to update_tail Stephen Hemminger
- RE: [PATCH 4/5] ring: drop unused arg to updat... Konstantin Ananyev
- [PATCH 5/5] ring: use C11 for single thread move h... Stephen Hemminger
- RE: [PATCH 5/5] ring: use C11 for single threa... Konstantin Ananyev
- [PATCH v2] ring: convert to C11 atomics where prac... Stephen Hemminger
- [PATCH v2 1/3] ring: split single thread vs mu... Stephen Hemminger
- [PATCH v2 2/3] ring: use GCC builtin as altern... Stephen Hemminger
- [PATCH v2 3/3] ring: cleanup the C11 code Stephen Hemminger

