From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2FE1F25914; Sun, 13 May 2018 19:38:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 13 May 2018 19:38:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=KzyOa/luSECsQIPI93onWs0yJp lFKN72L5PfQ2rmFqY=; b=k9jTXPaFofocwzskpyNisIyxhE/reNgSAergmNZQtZ to0g7GBDdbTmQ02Ho4R3bt4kr/xe8D92TqiXD+zeeKSTOISKEbUQsZ5XweFH9y7X YNPcpbiIEReoDlFLEYuSOQ/wmANLqx43jBfpcLbKWMF673W228//vdpTXIAFQRes M= 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-sender:x-me-sender:x-sasl-enc; s=fm2; bh=KzyOa/ luSECsQIPI93onWs0yJplFKN72L5PfQ2rmFqY=; b=mku/bihGcdzigm6/drWONd EFdOsqjrT27O1Q5NdCw49OFf9ZELtIfHC2CoTJ5tWhWoKDs1fkpN3p+CQeNoIfc6 3fk/LuQgr7Z0+d+lwYjYMBQmBw8AgZ73thaOeZDOoRv30F/UE0r4w68gqAy5Yzds 9nTkl1yOLv+7tpGo5siqBXcvOTfCyQovKMBf/WhCsVWStIbbvEMTd+c6uArhf07J gNmWEypEwehVgB8oAeU9N8k/wK0v3g5VR0R1P3aB2nZ7Rp+DaYzxyoYpnp80tLel WEtAxi398wrhx51jO3k4fGoosu98omX8dL3wADNMfkJSXGY51xG/RXTpxk6pH2QQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 82D0EE4393; Sun, 13 May 2018 19:38:25 -0400 (EDT) From: Thomas Monjalon To: "Burakov, Anatoly" Cc: dev@dpdk.org, "Ananyev, Konstantin" Date: Mon, 14 May 2018 01:38:24 +0200 Message-ID: <2062298.sQcMPtsDl5@xps> In-Reply-To: <2601191342CEEE43887BDE71AB977258AEDC5595@irsmsx105.ger.corp.intel.com> References: <2601191342CEEE43887BDE71AB977258AEDC5595@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] memzone: fix race condition on alloc failure 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: Sun, 13 May 2018 23:38:26 -0000 > > 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