[dpdk-dev] [dpdk-stable] [PATCH] malloc: make alignment requirements more stringent

Thomas Monjalon thomas at monjalon.net
Thu Dec 20 15:35:09 CET 2018


14/12/2018 19:51, Yongseok Koh:
> 
> > On Dec 14, 2018, at 3:54 AM, Anatoly Burakov <anatoly.burakov at intel.com> wrote:
> > 
> > The external heaps API already implicitly expects start address
> > of the external memory area to be page-aligned, but it is not
> > enforced or documented. Fix this by implementing additional
> > parameter checks at memory add call, and document the page
> > alignment requirement explicitly.
> > 
> > Fixes: 7d75c31014f7 ("malloc: allow adding memory to named heaps")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> > Suggested-by: Yongseok Koh <yskoh at mellanox.com>
> > ---
> 
> Acked-by: Yongseok Koh <yskoh at mellanox.com>

Applied, thanks





More information about the dev mailing list