[PATCH] eal: add notes to SMP memory barrier APIs
Thomas Monjalon
thomas at monjalon.net
Wed Jun 21 09:29:33 CEST 2023
21/06/2023 08:44, Ruifeng Wang:
> + * @note
> + * This function is deprecated. It adds complexity to the memory model
> + * used by this project. C11 memory model should always be used.
> + * rte_atomic_thread_fence() should be used instead.
> */
> static inline void rte_smp_mb(void);
I think it should be more explicit:
"the memory model used by this project" -> the DPDK memory model
Why it adds complexity?
What do you mean by "C11 memory model"?
More information about the dev
mailing list