numam-dpdk/lib/librte_eal/bsdapp
Tiwei Bie 190ce8645e contigmem: do not zero pages during each mmap
Don't zero the pages during each mmap. Instead, only zero the pages
when they are not already mmapped. Otherwise, the multi-process
support will be broken, as the pages will be zeroed when secondary
processes map the memory. Besides, track the open and mmap operations
on the cdev, and prevent the module from being unloaded when it is
still in use.

Fixes: 82f9318055 ("contigmem: zero all pages during mmap")
Cc: stable@dpdk.org

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2017-07-04 01:32:57 +02:00
..
contigmem contigmem: do not zero pages during each mmap 2017-07-04 01:32:57 +02:00
eal eal: add hotplug add/remove device 2017-07-04 01:10:24 +02:00
nic_uio nic_uio: fix device binding at boot 2017-04-04 12:28:03 +02:00
Makefile config: remove EAL flags for OS environment 2016-03-05 11:09:31 +01:00