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

A message that is not in the archive (sent off-list or not yet received): 1374850599-9790-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org

#2 lore raw
Quoted 8 lines · Thomas Monjalon

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(-)

ack

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

26/07/2013 16:57, Damien Millescamps :

Quoted 11 lines · Thomas Monjalon
Quoted 8 lines

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(-)

ack

pushed

Signature · 1 line
Thomas