DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] mem: fix log for --no-huge
@ 2013-07-26 14:56 Thomas Monjalon
  2013-07-26 14:57 ` Damien Millescamps
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2013-07-26 14:56 UTC (permalink / raw)
  To: dev

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 <thomas.monjalon@6wind.com>
---
 lib/librte_eal/linuxapp/eal/eal_memory.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c b/lib/librte_eal/linuxapp/eal/eal_memory.c
index 1a05d66..e429438 100644
--- a/lib/librte_eal/linuxapp/eal/eal_memory.c
+++ b/lib/librte_eal/linuxapp/eal/eal_memory.c
@@ -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();
-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] mem: fix log for --no-huge
  2013-07-26 14:56 [dpdk-dev] [PATCH] mem: fix log for --no-huge Thomas Monjalon
@ 2013-07-26 14:57 ` Damien Millescamps
  2013-07-26 15:11   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Damien Millescamps @ 2013-07-26 14:57 UTC (permalink / raw)
  To: dev

On 07/26/2013 04:56 PM, Thomas Monjalon wrote:
> 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 <thomas.monjalon@6wind.com>
> ---
>  lib/librte_eal/linuxapp/eal/eal_memory.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
ack

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] mem: fix log for --no-huge
  2013-07-26 14:57 ` Damien Millescamps
@ 2013-07-26 15:11   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2013-07-26 15:11 UTC (permalink / raw)
  To: dev

26/07/2013 16:57, Damien Millescamps :
> On 07/26/2013 04:56 PM, Thomas Monjalon wrote:
> > 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 <thomas.monjalon@6wind.com>
> > ---
> > 
> >  lib/librte_eal/linuxapp/eal/eal_memory.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> ack

pushed

-- 
Thomas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-26 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-26 14:56 [dpdk-dev] [PATCH] mem: fix log for --no-huge Thomas Monjalon
2013-07-26 14:57 ` Damien Millescamps
2013-07-26 15:11   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).