From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <thomas@monjalon.net> Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 2AE151B735 for <dev@dpdk.org>; Sat, 23 Mar 2019 16:57:38 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4CAC421DB2; Sat, 23 Mar 2019 11:57:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 23 Mar 2019 11:57:37 -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=1b9wvMdwCX8QKatDJ63MAkL8wKw42KD+AaNS465tdV8=; b=M1rKzIuBMxGX GotuiqSf9gGt2BlwY6p2G5No6gSA+2VcAgmGNeZXSHYu4v1xglLzpFhpB4c7Hcax OQ9FGNeptx3FW+YS6gktpx7xJEIftap5KYsqlI8pruTjP0vV38Wy48iFqBwAIBDK WGfzZcpaW0xcR4AELYzgsJm41yzT5aU= 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=fm2; bh=1b9wvMdwCX8QKatDJ63MAkL8wKw42KD+AaNS465td V8=; b=WAN+o4Q4V2AHums1VM4mXqMlim4trjB9LMArwfV1bUhaYJNsxYqED1RE7 YJqR3PFJsl8dvFuUMjSl5oGhXeiwOZ/OtAT0DukBL3GXfI6Ypj6e/wH4BcMy087j nQGPIw+WCePvStiX8FpNDc1DtfhK5q2a75MxEpjzV0q+m35CvvwQrhJQf/mdFpv3 4tMkt5rl1PeX4NgLmHEyuYK5oUw9RgtPmggb1v3NFRv5I2AM/gyvFIrc1eEQraNL G80JTVv46WjPe709P4+YyxnpEiXB0aAUkmN0+0W5gz6gkPlBgcR7fcir3zqCURoe EeFvqYui/1oQhH7OHZonFv2HygYBg== X-ME-Sender: <xms:cFeWXHYeXYCrB38nVMnIeC4vpujaujoI3yZ2B9oaFTDdexVlPAkL6Q> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrjeefgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epkedurddukeehrdduieefrddvhedvnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: <xmx:cFeWXNlBp3zXQ_e0pkVhdr4bNST7cvIpP8oLBYbDR_8uh9_kc4_U8g> <xmx:cFeWXOX1yuKnxjrjNOjc_Fm8S76brUGdEfiSIiOow8EK4GFPxuZJ1A> <xmx:cFeWXGXa9Ega_9K_VMQuaLU3oFm5Z5EkjHh5wSySZoDiMb0ObklBFA> <xmx:cVeWXISFWF4mkucJxdO2VnJHB-08vaZJBlYh1_6FFTeOCTHbsupnLA> Received: from xps.localnet (252.163.185.81.rev.sfr.net [81.185.163.252]) by mail.messagingengine.com (Postfix) with ESMTPA id 95560E4549; Sat, 23 Mar 2019 11:57:35 -0400 (EDT) From: Thomas Monjalon <thomas@monjalon.net> To: Tomasz Jozwiak <tomaszx.jozwiak@intel.com> Cc: dev@dpdk.org, "Burakov, Anatoly" <anatoly.burakov@intel.com>, fiona.trahe@intel.com Date: Sat, 23 Mar 2019 16:57:32 +0100 Message-ID: <1913491.BckyV8LrNZ@xps> In-Reply-To: <bd0efaa4-271e-8b98-adc1-52ce8412d666@intel.com> References: <1551429976-16297-1-git-send-email-tomaszx.jozwiak@intel.com> <bd0efaa4-271e-8b98-adc1-52ce8412d666@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> X-List-Received-Date: Sat, 23 Mar 2019 15:57:38 -0000 05/03/2019 11:04, Burakov, Anatoly: > 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 <tomaszx.jozwiak@intel.com> > > --- > > Acked-by: Anatoly Burakov <anatoly.burakov@intel.com> Applied, thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 3776CA00E6 for <public@inbox.dpdk.org>; Sat, 23 Mar 2019 16:57:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C1A521B739; Sat, 23 Mar 2019 16:57:38 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 2AE151B735 for <dev@dpdk.org>; Sat, 23 Mar 2019 16:57:38 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4CAC421DB2; Sat, 23 Mar 2019 11:57:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 23 Mar 2019 11:57:37 -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=1b9wvMdwCX8QKatDJ63MAkL8wKw42KD+AaNS465tdV8=; b=M1rKzIuBMxGX GotuiqSf9gGt2BlwY6p2G5No6gSA+2VcAgmGNeZXSHYu4v1xglLzpFhpB4c7Hcax OQ9FGNeptx3FW+YS6gktpx7xJEIftap5KYsqlI8pruTjP0vV38Wy48iFqBwAIBDK WGfzZcpaW0xcR4AELYzgsJm41yzT5aU= 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=fm2; bh=1b9wvMdwCX8QKatDJ63MAkL8wKw42KD+AaNS465td V8=; b=WAN+o4Q4V2AHums1VM4mXqMlim4trjB9LMArwfV1bUhaYJNsxYqED1RE7 YJqR3PFJsl8dvFuUMjSl5oGhXeiwOZ/OtAT0DukBL3GXfI6Ypj6e/wH4BcMy087j nQGPIw+WCePvStiX8FpNDc1DtfhK5q2a75MxEpjzV0q+m35CvvwQrhJQf/mdFpv3 4tMkt5rl1PeX4NgLmHEyuYK5oUw9RgtPmggb1v3NFRv5I2AM/gyvFIrc1eEQraNL G80JTVv46WjPe709P4+YyxnpEiXB0aAUkmN0+0W5gz6gkPlBgcR7fcir3zqCURoe EeFvqYui/1oQhH7OHZonFv2HygYBg== X-ME-Sender: <xms:cFeWXHYeXYCrB38nVMnIeC4vpujaujoI3yZ2B9oaFTDdexVlPAkL6Q> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrjeefgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epkedurddukeehrdduieefrddvhedvnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: <xmx:cFeWXNlBp3zXQ_e0pkVhdr4bNST7cvIpP8oLBYbDR_8uh9_kc4_U8g> <xmx:cFeWXOX1yuKnxjrjNOjc_Fm8S76brUGdEfiSIiOow8EK4GFPxuZJ1A> <xmx:cFeWXGXa9Ega_9K_VMQuaLU3oFm5Z5EkjHh5wSySZoDiMb0ObklBFA> <xmx:cVeWXISFWF4mkucJxdO2VnJHB-08vaZJBlYh1_6FFTeOCTHbsupnLA> Received: from xps.localnet (252.163.185.81.rev.sfr.net [81.185.163.252]) by mail.messagingengine.com (Postfix) with ESMTPA id 95560E4549; Sat, 23 Mar 2019 11:57:35 -0400 (EDT) From: Thomas Monjalon <thomas@monjalon.net> To: Tomasz Jozwiak <tomaszx.jozwiak@intel.com> Cc: dev@dpdk.org, "Burakov, Anatoly" <anatoly.burakov@intel.com>, fiona.trahe@intel.com Date: Sat, 23 Mar 2019 16:57:32 +0100 Message-ID: <1913491.BckyV8LrNZ@xps> In-Reply-To: <bd0efaa4-271e-8b98-adc1-52ce8412d666@intel.com> References: <1551429976-16297-1-git-send-email-tomaszx.jozwiak@intel.com> <bd0efaa4-271e-8b98-adc1-52ce8412d666@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> Message-ID: <20190323155732.T1UDsaSYSddnjV3BLYaEpKh8t62H-akGddqbfRvO3F8@z> 05/03/2019 11:04, Burakov, Anatoly: > 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 <tomaszx.jozwiak@intel.com> > > --- > > Acked-by: Anatoly Burakov <anatoly.burakov@intel.com> Applied, thanks