From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH v2 2/2] test/memzone: Fix test_memzone_free issue Date: Mon, 15 Jan 2018 09:49:02 +0000 Message-ID: <85695ff5-75f0-d75a-45a5-ef59f3bd5ec4@intel.com> References: <1515663706-762-1-git-send-email-phil.yang@arm.com> <1515995546-5981-1-git-send-email-phil.yang@arm.com> <1515995546-5981-3-git-send-email-phil.yang@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: jianbo.liu@arm.com, herbert.guan@arm.com To: Phil Yang , dev@dpdk.org Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 5EDDAA48D for ; Mon, 15 Jan 2018 10:49:08 +0100 (CET) In-Reply-To: <1515995546-5981-3-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 15-Jan-18 5:52 AM, Phil Yang wrote: > When reserving memzone for mz[], it will out of mz[RTE_MAX_MEMZONE] memory > bound after the counter reached to RTE_MAX_MEMZONE. It will flush the > counter's memory and lead to mz[] memory cannot be freed. > > Fixd by extend to mz[RTE_MAX_MEMZONE + 1]. > > Signed-off-by: Phil Yang > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly