[dpdk-dev][dpdk-users] A problem about memory may not be all-zero allocated by rte_zmalloc_socket()

Honnappa Nagarahalli Honnappa.Nagarahalli at arm.com
Mon Jan 31 05:21:57 CET 2022


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 at huawei.com>
Sent: Saturday, January 29, 2022 9:21 PM
To: dev at dpdk.org; users at dpdk.org
Cc: Feifei Wang <Feifei.Wang2 at arm.com>; Ruifeng Wang <Ruifeng.Wang at arm.com>; Huangshaozhang <huangshaozhang at huawei.com>; dingxiaoxiong <dingxiaoxiong at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20220131/f2750646/attachment.htm>


More information about the users mailing list