numam-dpdk/lib/librte_eal
Anatoly Burakov f15addb79e mem: make --no-huge use mmap instead of malloc
This makes it possible to run DPDK without hugepage memory when VFIO
is used, as VFIO uses virtual addresses to set up DMA mappings.

Technically, malloc is just fine, but we want to guarantee that
memory will be page-aligned, so using mmap to be safe.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-06-16 15:02:10 +02:00
..
bsdapp remove trailing whitespaces 2014-06-11 00:29:34 +02:00
common distributor: new packet distributor library 2014-06-12 15:47:04 +02:00
linuxapp mem: make --no-huge use mmap instead of malloc 2014-06-16 15:02:10 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00