[dpdk-dev] [PATCH v2] malloc: fix adjacency check to also include segment list
Burakov, Anatoly
anatoly.burakov at intel.com
Wed Nov 14 17:04:44 CET 2018
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 belong to the same memseg list.
>
> Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists")
>
> Cc: stable at dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
Oops, reply tag was set wrong.
--
Thanks,
Anatoly
More information about the dev
mailing list