From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2019 02:04:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,443,1544515200"; d="scan'208";a="279863110" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.237.220.66]) ([10.237.220.66]) by orsmga004.jf.intel.com with ESMTP; 05 Mar 2019 02:04:18 -0800 To: Tomasz Jozwiak , dev@dpdk.org, fiona.trahe@intel.com References: <1551429976-16297-1-git-send-email-tomaszx.jozwiak@intel.com> From: "Burakov, Anatoly" Message-ID: Date: Tue, 5 Mar 2019 10:04:16 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2 MIME-Version: 1.0 In-Reply-To: <1551429976-16297-1-git-send-email-tomaszx.jozwiak@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] malloc: add rte_realloc_socket function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2019 10:04:20 -0000 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