Skip to contentSkip to conversation

mem: fix log for --no-huge

PATCH In review Thomas Monjalon 2 participants 3 messages Jul 26, 2013 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 lib/librte_eal/linuxapp/eal/eal_memory.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_eal/linuxapp/eal/eal_memory.c +1 -1
index 1a05d66..e429438 100644
@@ -1142,7 +1142,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();
Signature · 1 line
1.7.10.4