[dpdk-dev] [PATCH] malloc: add rte_realloc_socket function

Burakov, Anatoly anatoly.burakov at intel.com
Tue Mar 5 11:04:16 CET 2019


On 01-Mar-19 8:46 AM, Tomasz Jozwiak wrote:
> Currently, rte_realloc will not respect original allocation's
> NUMA node when memory cannot be resized, and there is no
> NUMA-aware equivalent of rte_realloc. This patch adds such a function.
> 
> The new API will ensure that reallocated memory stays on
> requested NUMA node, as well as allow moving allocated memory
> to a different NUMA node.
> 
> Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak at intel.com>
> ---

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list