numam-dpdk/lib/librte_eal/bsdapp
Neil Horman 34fbfa585c mem: set fd to -1 for anonymous mmap
https://dpdk.org/tracker/show_bug.cgi?id=18

Indicated that several mmap call sites in the [linux|bsd]app eal code
set fd that was not -1 in their calls while using MAP_ANONYMOUS.  While
probably not a huge deal, the man page does say the fd should be -1 for
portability, as some implementations don't ignore fd as they should for
MAP_ANONYMOUS.

Suggested-by: Solal Pirelli <solal.pirelli@gmail.com>
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2018-04-12 14:44:24 +02:00
..
eal mem: set fd to -1 for anonymous mmap 2018-04-12 14:44:24 +02:00
BSDmakefile.meson eal/bsd: fix kernel modules build with meson 2018-02-02 11:28:52 +01:00
Makefile move kernel modules directories 2018-03-21 23:04:21 +01:00