From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] malloc: fix external heap allocation in no huge mode Date: Fri, 26 Oct 2018 22:27:59 +0200 Message-ID: <140058911.RUMSLY2u8S@xps> References: <0a032f701099558dfbe4c9684df90874583a4544.1540465344.git.anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, laszlo.madarassy@ericsson.com, janos.kobor@ericsson.com To: Anatoly Burakov Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 6BA022965 for ; Fri, 26 Oct 2018 22:27:55 +0200 (CEST) In-Reply-To: <0a032f701099558dfbe4c9684df90874583a4544.1540465344.git.anatoly.burakov@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 25/10/2018 13:06, Anatoly Burakov: > When no-huge mode is enabled, we always overwrite the socket ID to be > SOCKET_ID_ANY in rte_malloc, because there is no NUMA awareness in no-huge > mode. However, with external memory support, a socket ID may have other > meaning, and we cannot overwrite the socket ID in those cases. > > Fixes: 65ff37b105f7 ("malloc: add function to check if socket is external") > > Signed-off-by: Anatoly Burakov Applied, thanks