Re: [dpdk-dev] [PATCH] malloc: fix external heap allocation in no huge mode

2018-10-26 Thread Thomas Monjalon
25/10/2018 13:06, Anatoly Burakov: > When no-huge mode is enabled, we always overwrite the socket ID to be > SOCKET_ID_ANY in rte_malloc, because there is no NUMA awareness in no-huge > mode. However, with external memory support, a socket ID may have other > meaning, and we cannot overwrite the so

[dpdk-dev] [PATCH] malloc: fix external heap allocation in no huge mode

2018-10-25 Thread Anatoly Burakov
When no-huge mode is enabled, we always overwrite the socket ID to be SOCKET_ID_ANY in rte_malloc, because there is no NUMA awareness in no-huge mode. However, with external memory support, a socket ID may have other meaning, and we cannot overwrite the socket ID in those cases. Fixes: 65ff37b105f