From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] memzone: fix race condition on alloc failure Date: Mon, 14 May 2018 01:38:24 +0200 Message-ID: <2062298.sQcMPtsDl5@xps> References: <2601191342CEEE43887BDE71AB977258AEDC5595@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Ananyev, Konstantin" To: "Burakov, Anatoly" Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id A1AE21BD38 for ; Mon, 14 May 2018 01:38:26 +0200 (CEST) In-Reply-To: <2601191342CEEE43887BDE71AB977258AEDC5595@irsmsx105.ger.corp.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" > > Deallocation used the wrong function, which could have resulted in > > race conditions because the function does not use locks internally. > > > > Fixes: 1403f87d4fb8 ("malloc: enable memory hotplug support") > > Cc: anatoly.burakov@intel.com > > > > Signed-off-by: Anatoly Burakov > > Acked-by: Konstantin Ananyev Applied, thanks