mem: fix log for --no-huge
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.
Signed-off-by Thomas Monjalon <[email protected]>
--- 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
@@ -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
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.
Signed-off-by Thomas Monjalon <[email protected]>--- lib/librte_eal/linuxapp/eal/eal_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ack
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.
Signed-off-by Thomas Monjalon <[email protected]>---
lib/librte_eal/linuxapp/eal/eal_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)ack
pushed
Signature · 1 line
Thomas