[PATCH] eal: abstract compiler atomics
Tyler Retzlaff
roretzla at linux.microsoft.com
Tue Jan 31 22:33:23 CET 2023
hi folks,
just raising this to the top of mailboxes to call for reviewers. it's
going to be a lot of work by the time it's done so your feedback is
gretly appreciated.
thanks!
On Thu, Jan 12, 2023 at 01:26:24PM -0800, Tyler Retzlaff wrote:
> Introduce an abstraction for compiler specific atomics and a meson
> option to allow standard C11 atomics use.
>
> Note, this series does not attempt to convert to the use of the
> abstraction it only introduces it as per the plan discussed here.
> http://mails.dpdk.org/archives/dev/2023-January/258693.html
>
> devtools checkatches warnings are expected as we intend no
> functional change with this series. Subsequent series will address
> the use of __sync_xxx builtins warning.
>
> Tyler Retzlaff (1):
> eal: introduce atomics abstraction
>
> config/meson.build | 11 +++
> lib/eal/arm/include/rte_atomic_32.h | 6 +-
> lib/eal/arm/include/rte_atomic_64.h | 6 +-
> lib/eal/include/generic/rte_atomic.h | 156 ++++++++++++++++++++++++++++++++-
> lib/eal/loongarch/include/rte_atomic.h | 6 +-
> lib/eal/ppc/include/rte_atomic.h | 6 +-
> lib/eal/riscv/include/rte_atomic.h | 6 +-
> lib/eal/x86/include/rte_atomic.h | 8 +-
> meson_options.txt | 2 +
> 9 files changed, 199 insertions(+), 8 deletions(-)
>
> --
> 1.8.3.1
More information about the dev
mailing list