Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New upstream version 18.11.2
[deb_dpdk.git]
/
lib
/
librte_eal
/
linuxapp
/
eal
/
eal_memalloc.c
diff --git
a/lib/librte_eal/linuxapp/eal/eal_memalloc.c
b/lib/librte_eal/linuxapp/eal/eal_memalloc.c
index
f63d9ca
..
81b441a
100644
(file)
--- a/
lib/librte_eal/linuxapp/eal/eal_memalloc.c
+++ b/
lib/librte_eal/linuxapp/eal/eal_memalloc.c
@@
-740,6
+740,10
@@
alloc_seg(struct rte_memseg *ms, void *addr, int socket_id,
__func__, socket_id, cur_socket_id);
goto mapped;
}
+#else
+ if (rte_socket_count() > 1)
+ RTE_LOG(DEBUG, EAL, "%s(): not checking hugepage NUMA node.\n",
+ __func__);
#endif
ms->addr = addr;