On 19.07.2018 12:42, Anatoly Burakov wrote:
Previously, we were skipping erasing pad because we were
expecting it to be freed when we were merging adjacent
segments. However, if there were no adjacent segments to
merge, we would've skipped erasing the pad, leaving non-zero
memory in our free space.
Fix this by including pad in the erasing unconditionally.
Fixes: e43a9f52b7ff ("malloc: fix pad erasing")
Cc: sta...@dpdk.org
Reported-by: Andrew Rybchenko <arybche...@solarflare.com>
Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com>
Many thanks, the patch fixes the problem I've observed.
Tested-by: Andrew Rybchenko <arybche...@solarflare.com>