Anatoly Burakov 5640171c52 malloc: fix external heap allocation in no-huge mode
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: 65ff37b105f7 ("malloc: add function to check if socket is external")

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
2018-10-26 22:37:59 +02:00
..
2018-10-25 11:27:49 +02:00
2018-10-10 21:40:40 +02:00
2018-10-25 15:51:16 +02:00
2018-10-12 19:33:02 +02:00
2018-10-24 15:12:33 +02:00
2018-10-26 14:51:36 +02:00