From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH v3 3/5] memalloc: allow setting up segment list fd's Date: Fri, 14 Dec 2018 11:03:24 +0100 Message-ID: <83700883-8a46-a06a-e742-579ee08fcf11@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Bruce Richardson , przemyslawx.lal@intel.com, kuralamudhan.ramakrishnan@intel.com, ivan.coughlan@intel.com, tiwei.bie@intel.com, ray.kinsella@intel.com To: Anatoly Burakov , dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id DE2FA1B9C9 for ; Fri, 14 Dec 2018 11:03:30 +0100 (CET) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > Acked-by: Tiwei Bie > --- > > 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 Thanks, Maxime