Re: [dpdk-dev] [PATCH] eal/bsd: don't zero the pages during mmap in contigmem

2017-05-08 Thread Tiwei Bie
On Mon, May 08, 2017 at 09:53:57AM +0100, Bruce Richardson wrote: > On Mon, May 08, 2017 at 08:09:16AM +, Tiwei Bie wrote: > > Don't zero the pages during mmap in contigmem. Instead, zero the > > pages after mmap in primary process. Otherwise, the multi-process > > support will be broken, as th

Re: [dpdk-dev] [PATCH] eal/bsd: don't zero the pages during mmap in contigmem

2017-05-08 Thread Bruce Richardson
On Mon, May 08, 2017 at 08:09:16AM +, Tiwei Bie wrote: > Don't zero the pages during mmap in contigmem. Instead, zero the > pages after mmap in primary process. Otherwise, the multi-process > support will be broken, as the pages will be zeroed when secondary > processes map the memory. > > Fix

[dpdk-dev] [PATCH] eal/bsd: don't zero the pages during mmap in contigmem

2017-05-08 Thread Tiwei Bie
Don't zero the pages during mmap in contigmem. Instead, zero the pages after mmap in primary process. Otherwise, the multi-process support will be broken, as the pages will be zeroed when secondary processes map the memory. Fixes: 82f931805506 ("contigmem: zero all pages during mmap") Cc: sta...@d