b2101c9a5c
For aarch64 spdk_mb is defined as "__asm volatile("dsb sy" ::: "memory")" and spdk_smp_mb is defined as "__asm volatile("dmb ish" ::: "memory")". "dsb sy" completes when all instructions before this instruction complete. And "dmb ish" only keeps the order of memory access instructions before and after it. It doesn't affect the ordering of any other instructions. Here I think "dmb ish" is enough. And replace spdk_mb with spdk_smp_mb here will not affect PPC64, X86_64 and i386. Signed-off-by: Richael Zhuang <richael.zhuang@arm.com> Change-Id: Idd65f74567c594e5a6514a4ab0665b8f3606c883 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/463455 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
bdev_aio_rpc.c | ||
bdev_aio.c | ||
bdev_aio.h | ||
Makefile |