From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0711721F51; Fri, 26 Oct 2018 16:27:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 26 Oct 2018 16:27:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=dv4faBqdbc2YnOS2iaDY88FNRL3Rqw4e0K2aLxgXV4w=; b=YIO4zkGQlE+X ux8yl64ACxexz2sZ3GpAwZON9ZyJ5xfXbAumc1RcG911jdiLucf1zOV/5u/1CICU qG97jnvytxChdrdp82HlI/xaX4wvaC13mQwRpkWXdAOykNim4ncWa6JZPr1FfJKk RCuUf+Z4dB4x+b1QswWlD9+cjkjwlnU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=dv4faBqdbc2YnOS2iaDY88FNRL3Rqw4e0K2aLxgXV 4w=; b=eMivPp7Pg2trkuoBY+hgrNDBXuvrYq5reVt7DZ+D+d6ZEc1UzMkBIzbon ONNmn9GOcXwSd+FhOCkTIJBsknWO7dUo4RNFXy4TFdAaFTHdju5p9p8m7x3RHrkM H4frsT2/OcZN2aCFtWaqp5MA94ngvdnfp0CqoYvHX4N/LMOgf/qOP0Fl5eiawGbx SPainE18uY5lBLuNjMminTyo4YV/L8BVBYiD72xAXHmtoc6w6L1eeYuV4Qvenf+9 0YX0W598M5mjRHB7Ege34qOqsMGpuGAIUHtBoaiyDQi57LH+XUUJffCUHocWZPb8 ci2oHnZ+oTpUDrOfRQZQT0nyQirbA== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A0658E4408; Fri, 26 Oct 2018 16:27:53 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, laszlo.madarassy@ericsson.com, janos.kobor@ericsson.com Date: Fri, 26 Oct 2018 22:27:59 +0200 Message-ID: <140058911.RUMSLY2u8S@xps> In-Reply-To: <0a032f701099558dfbe4c9684df90874583a4544.1540465344.git.anatoly.burakov@intel.com> References: <0a032f701099558dfbe4c9684df90874583a4544.1540465344.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] malloc: fix external heap allocation in no huge mode 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: Fri, 26 Oct 2018 20:27:55 -0000 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