[PATCH 0/7] replace rte atomics with GCC builtin atomics

Stephen Hemminger stephen at networkplumber.org
Fri Mar 17 22:42:26 CET 2023


On Fri, 17 Mar 2023 13:19:41 -0700
Tyler Retzlaff <roretzla at linux.microsoft.com> wrote:

> Replace the use of rte_atomic.h types and functions, instead use GCC
> supplied C++11 memory model builtins.
> 
> This series covers the libraries and drivers that are built on Windows.
> 
> The code has be converted to use the __atomic builtins but there are
> additional during conversion i notice that there may be some issues
> that need to be addressed.

I don't think all these cmpset need to use SEQ_CST.
Especially for the places where it is used a loop, might
be more efficient with some of the other memory models.


More information about the dev mailing list