[dpdk-dev] [PATCH v2] contigmem: zero all pages during mmap

2016-08-22 Thread Thomas Monjalon
2016-08-16 15:46, Jim Harris: > On Linux, all huge pages are zeroed by the kernel before > first access by the DPDK application. But on FreeBSD, > the contigmem driver would only zero the contiguous > memory regions during initial driver load. > > DPDK commit b78c91751 eliminated the explicit mem

[dpdk-dev] [PATCH v2] contigmem: zero all pages during mmap

2016-08-16 Thread Jim Harris
On Linux, all huge pages are zeroed by the kernel before first access by the DPDK application. But on FreeBSD, the contigmem driver would only zero the contiguous memory regions during initial driver load. DPDK commit b78c91751 eliminated the explicit memset() operation for rte_zmalloc(), which w