On Wed, May 25, 2022 at 7:18 AM Fidaullah Noonari <fidaullah.noon...@emumba.com> 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: sta...@dpdk.org
> > Signed-off-by: Fidaullah Noonari <fidaullah.noon...@emumba.com> Acked-by: Dmitry Kozlyuk <dmitry.kozl...@gmail.com> Applied, thanks. -- David Marchand