[PATCH 0/3] use C11 memory model GCC builtin atomics
David Marchand
david.marchand at redhat.com
Wed Jun 7 18:46:37 CEST 2023
On Mon, Mar 27, 2023 at 4:30 PM Tyler Retzlaff
<roretzla at linux.microsoft.com> wrote:
>
> Replace the use of __sync_<op>_and_fetch and __sync_fetch_and_<op> atomics
> with GCC C11 memory model __atomic builtins.
>
> This series contributes to converging on standard atomics in 23.11 but is
> kept separate as there may be sensitivity to converting from __sync to the
> C11 memory model builtins.
>
> Tyler Retzlaff (3):
> bus/vmbus: use C11 memory model GCC builtin atomics
> crypto/ccp: use C11 memory model GCC builtin atomics
> eal: use C11 memory model GCC builtin atomics
>
> drivers/bus/vmbus/vmbus_channel.c | 2 +-
> drivers/crypto/ccp/ccp_dev.c | 6 ++++--
> lib/eal/include/generic/rte_atomic.h | 32 ++++++++++++++++----------------
> 3 files changed, 21 insertions(+), 19 deletions(-)
Please use get-maintainers.sh when submitting patches.
The change looks ok to me and rc1 validation will confirm if there is
an impact on performance.
Series applied, thanks.
--
David Marchand
More information about the dev
mailing list