numam-dpdk/lib/librte_eal
Anatoly Burakov 034f1fb616 mem: attempt multiple hugepage allocations at init
When requesting memory with ``-m`` or ``--socket-mem`` flags,
currently the init will fail if the requested memory amount was
bigger than any one memseg list, even if total amount of
available memory was sufficient.

Fix this by making EAL to attempt to allocate pages multiple
times, until we either fulfill our memory requirements, or run
out of hugepages to allocate.

Bugzilla ID: 95

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
2019-03-28 23:28:58 +01:00
..
common fbarray: add API to find biggest used or free chunks 2019-03-28 23:28:52 +01:00
freebsd service: fix parameter type for attribute 2019-03-28 21:07:48 +01:00
linux mem: attempt multiple hugepage allocations at init 2019-03-28 23:28:58 +01:00
Makefile build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
meson.build service: fix parameter type for attribute 2019-03-28 21:07:48 +01:00
rte_eal_version.map fbarray: add API to find biggest used or free chunks 2019-03-28 23:28:52 +01:00