2016-08-03 14:02, Jianbo Liu: > I think we can place a compiling condition before rte_rmb() to avoid > performance decrease on x86. > For example: #if defined(RTE_ARCH_ARM) || defined(RTE_ARCH_ARM64)
Please could you explain why a memory barrier would be needed on ARM but not on x86? What about other architectures?