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

2019-03-23 Thread Thomas Monjalon
05/03/2019 11:04, Burakov, Anatoly: > 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 ne

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

2019-03-05 Thread Burakov, Anatoly
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 reque

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

2019-03-01 Thread Tomasz Jozwiak
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 alloca