Thread (4 messages) 4 messages, 3 authors, 2016-08-16

Re: [dpdk-users] rte_zmalloc() returning non-zeroed memory on FreeBSD

flat view

From: Harris, James R <hidden>
Date: 2016-08-16 22:54:53

-----Original Message-----
From: Gonzalez Monroy, Sergio
Sent: Tuesday, August 16, 2016 12:37 AM
To: Harris, James R; Thomas Monjalon; users@dpdk.org; dev@dpdk.org;
Richardson, Bruce
Cc: Verkamp, Daniel
Subject: Re: [dpdk-dev] [dpdk-users] rte_zmalloc() returning non-zeroed
memory on FreeBSD

On 15/08/2016 18:23, Harris, James R wrote:
quoted
<snip>
quoted
The problem is that the FreeBSD contigmem driver does not re-zero the
huge
quoted
pages each time they are mmap'd - they are only zeroed when contigmem
initially loads.  I will push a patch for this shortly.
So that is the case where we run the app more than once, right?
I missed that, I only ran it once.
Correct - it works OK the first time.  The problem only occurs if you run the app
more than once (unless you unload and reload contigmem before running the
app a second time).

-Jim
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help