Re: [dpdk-dev] [PATCH v2] malloc: fix adjacency check to also include segment list

2018-11-18 Thread Thomas Monjalon
14/11/2018 16:00, Anatoly Burakov: > It may so happen that two memory locations may be adjacent in > virtual memory, but belong to different segment lists. With > current code, such segments will be concatenated. Fix the > adjacency checking code to also check if the adjacent malloc > elements belo

Re: [dpdk-dev] [PATCH v2] malloc: fix adjacency check to also include segment list

2018-11-14 Thread Burakov, Anatoly
On 14-Nov-18 3:00 PM, Anatoly Burakov wrote: It may so happen that two memory locations may be adjacent in virtual memory, but belong to different segment lists. With current code, such segments will be concatenated. Fix the adjacency checking code to also check if the adjacent malloc elements be

[dpdk-dev] [PATCH v2] malloc: fix adjacency check to also include segment list

2018-11-14 Thread Anatoly Burakov
It may so happen that two memory locations may be adjacent in virtual memory, but belong to different segment lists. With current code, such segments will be concatenated. Fix the adjacency checking code to also check if the adjacent malloc elements belong to the same memseg list. Fixes: 66cc45e29