From: Thomas Monjalon Date: Mon, 8 Apr 2013 16:13:06 +0000 (+0200) Subject: mem: fix log for --no-huge X-Git-Tag: spdx-start~11035 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f622f3848fb17400367781895e3b9c1a51e0a43d;p=dpdk.git mem: fix log for --no-huge In some cases, it is possible to not use hugepages. So a simple malloc is used to initialize DPDK memory. Signed-off-by: Thomas Monjalon Acked-by: Damien Millescamps --- diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c b/lib/librte_eal/linuxapp/eal/eal_memory.c index 2eb4617546..3a1822ee2e 100644 --- a/lib/librte_eal/linuxapp/eal/eal_memory.c +++ b/lib/librte_eal/linuxapp/eal/eal_memory.c @@ -1114,7 +1114,7 @@ rte_eal_memdevice_init(void) int rte_eal_memory_init(void) { - RTE_LOG(INFO, EAL, "Setting up hugepage memory...\n"); + RTE_LOG(INFO, EAL, "Setting up memory...\n"); const int retval = rte_eal_process_type() == RTE_PROC_PRIMARY ? rte_eal_hugepage_init() : rte_eal_hugepage_attach();