On Wed, May 25, 2022 at 7:18 AM Fidaullah Noonari <[email protected]> wrote: > > if rte malloc is called to allocate memory of size > is between multiple of hugepage size minus malloc_header_len > and hugepage size rte_malloc fails to allocate memory. > this fix replaces malloc_elem_trailer_len with > malloc_elem_overhead in try_expand_heap() to include > malloc_elem_header_len when calculating n_seg. > > Bugzilla ID: 800 Fixes: 07dcbfe0101f ("malloc: support multiprocess memory hotplug") Cc: [email protected]
> > Signed-off-by: Fidaullah Noonari <[email protected]> Acked-by: Dmitry Kozlyuk <[email protected]> Applied, thanks. -- David Marchand

