Hi Yunjian,
That’s interesting. Is it possible to elaborate the use case or possibly provide the code snippet?
It is possible that it is a synchronization problem due to relaxed memory model that Arm architecture uses. There could be a barrier missing in the code.
Thanks,
Honnappa
From: wangyunjian <wangyunjian@huawei.com>
Sent: Saturday, January 29, 2022 9:21 PM
To: dev@dpdk.org; users@dpdk.org
Cc: Feifei Wang <Feifei.Wang2@arm.com>; Ruifeng Wang <Ruifeng.Wang@arm.com>; Huangshaozhang <huangshaozhang@huawei.com>; dingxiaoxiong <dingxiaoxiong@huawei.com>
Subject: [dpdk-dev][dpdk-users] A problem about memory may not be all-zero allocated by rte_zmalloc_socket()
Hi, all
There's a problem that the memory are allocated by rte_zmalloc_socket()
may not be all-zero on the ARM platform.
However, the x86 platform does not have this problem.
Any ideas ?
Thanks,
Yunjian