On 12/13/18 12:43 PM, Anatoly Burakov wrote:
Currently, only segment fd's for multi-file segments are supported, while for memfd-backed no-huge memory we need single-file segments mode. Add support for single-file segments in the internal API. Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com> Acked-by: Tiwei Bie <tiwei....@intel.com> --- Notes: v2: - Add missing fd list allocation on setting segment list fd lib/librte_eal/bsdapp/eal/eal_memalloc.c | 6 +++++ lib/librte_eal/common/eal_memalloc.h | 4 ++++ lib/librte_eal/linuxapp/eal/eal_memalloc.c | 26 ++++++++++++++++++++++ 3 files changed, 36 insertions(+)
Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com> Thanks, Maxime