From: "Burakov, Anatoly" Subject: Re: [PATCH] test/memzone: fix incorrect result judging criteria Date: Mon, 29 Jan 2018 09:49:51 +0000 Message-ID: <36ffe0b4-8a4d-2690-9c33-5eff41b21891@intel.com> References: <1517206986-32281-1-git-send-email-phil.yang@arm.com> <1517206986-32281-2-git-send-email-phil.yang@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: dev@dpdk.org Return-path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id A4D2A1B415 for ; Mon, 29 Jan 2018 10:49:53 +0100 (CET) In-Reply-To: <1517206986-32281-2-git-send-email-phil.yang@arm.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 29-Jan-18 6:23 AM, Phil Yang wrote: > While running DTS with ixgbe NIC, dpdk EAL will reserve some > memzones for the PCI device. So it is incorrect to judging the result by > only checking whether it has memzone remained. > > Fixed by insert an unique name prefix into each memzone used in this case. > And verify whether it has used memzone remained at the end. > > Fixes: 71330483a193 ("test/memzone: fix memory leak") > > Signed-off-by: Phil Yang > --- Hi Phil, I think this is a (rough) duplicate of what i've submitted recently: http://dpdk.org/dev/patchwork/patch/34564/ I believe approach i've taken is a little cleaner and more generic :) -- Thanks, Anatoly