Re: [dpdk-dev] [PATCH] eal/malloc: fix malloc cookie check

2017-08-23 Thread Sergio Gonzalez Monroy
Hi Xueming, I think I have understood what you are doing and why the change is required, but I believe we can improve the commit message. It might be even a good idea to split the patches: 1. RTE_MALLOC_DEBUG fix 2. malloc_elem_free fix On 23/08/2017 03:29, Xueming Li wrote: From: xuemingl

[dpdk-dev] [PATCH] eal/malloc: fix malloc cookie check

2017-08-22 Thread Xueming Li
From: xuemingl DPDK uses it's own memory management, few regular memory profiler tool support DPDK now. Malloc cookie check provides limited memory corruption check, better than nothing. This patch fixes the following: 1. Replace broken generated configuration macro RTE_LIBRTE_MALLOC_DEBUG with R