[dpdk-dev] [PATCH v9 2/3] devtools: prevent use of rte atomic APIs in future patches

Thomas Monjalon thomas at monjalon.net
Fri Jul 17 10:35:58 CEST 2020


17/07/2020 07:08, Phil Yang:
> In order to deprecate the rte_atomic and rte_smp barrier APIs, prevent
> the patches from using these APIs and __sync builtins in new code.
> 
> On x86 the __atomic_thread_fence(__ATOMIC_SEQ_CST) is quite expensive
> for SMP case. Flag the new code which use __atomic_thread_fence API.

When receiving such message error, I would look at the explanations
in the git history. Unfortunately this commit log does not reference
the documentation. Please add a link and give the 4 direct replacements
in this commit log.





More information about the dev mailing list