7e54f18326
Previous fix used `rte_malloc_heap_socket_is_external()` to check if the
heap was an external heap. However, that API is thread-safe, and when
we're inside the allocation process, we're already write-locked, so
calling `rte_malloc_heap_socket_is_external()` will result in a
deadlock followed by a timeout.
Fix it by replacing the API call with a check against maximum number of
NUMA nodes, because external heaps always have higher socket ID's.
Fixes:
|
||
---|---|---|
.. | ||
arm | ||
common | ||
freebsd | ||
include | ||
linux | ||
ppc | ||
unix | ||
windows | ||
x86 | ||
meson.build | ||
rte_eal_exports.def | ||
version.map |