From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH] malloc: add rte_realloc_socket function Date: Tue, 5 Mar 2019 10:04:16 +0000 Message-ID: References: <1551429976-16297-1-git-send-email-tomaszx.jozwiak@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Tomasz Jozwiak , dev@dpdk.org, fiona.trahe@intel.com Return-path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id BD7712BE9 for ; Tue, 5 Mar 2019 11:04:19 +0100 (CET) In-Reply-To: <1551429976-16297-1-git-send-email-tomaszx.jozwiak@intel.com> 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 01-Mar-19 8:46 AM, Tomasz Jozwiak wrote: > Currently, rte_realloc will not respect original allocation's > NUMA node when memory cannot be resized, and there is no > NUMA-aware equivalent of rte_realloc. This patch adds such a function. > > The new API will ensure that reallocated memory stays on > requested NUMA node, as well as allow moving allocated memory > to a different NUMA node. > > Signed-off-by: Tomasz Jozwiak > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly