[dpdk-dev] [PATCH v2 2/2] test/memzone: Fix test_memzone_free issue

Burakov, Anatoly anatoly.burakov at intel.com
Mon Jan 15 10:49:02 CET 2018


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 <phil.yang at arm.com>
> ---

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list