From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH v3 2/5] memalloc: check for memfd support in segment fd API Date: Fri, 14 Dec 2018 10:19:49 +0100 Message-ID: <22e37d4a-d5b1-35b3-870a-bf58e6d9eadb@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: John McNamara , Marko Kovacevic , przemyslawx.lal@intel.com, kuralamudhan.ramakrishnan@intel.com, ivan.coughlan@intel.com, tiwei.bie@intel.com, ray.kinsella@intel.com, stable@dpdk.org To: Anatoly Burakov , dev@dpdk.org Return-path: 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: > If memfd support was not compiled, or hugepage memfd support > is not available at runtime, the API will now return proper > error code, indicating that this API is unsupported. This > changes the API, so document the changes. > > Fixes: 41dbdb68723b ("mem: add external API to retrieve page fd") > Fixes: 3a44687139eb ("mem: allow querying offset into segment fd") > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov > Acked-by: Tiwei Bie > --- > > Notes: > The API is experimental, no deprecation notice needed. > > doc/guides/rel_notes/release_19_02.rst | 2 ++ > lib/librte_eal/linuxapp/eal/eal_memalloc.c | 40 +++++++++++++++++----- > 2 files changed, 34 insertions(+), 8 deletions(-) > Reviewed-by: Maxime Coquelin Thanks, Maxime