Re: [dpdk-dev] [PATCH 17/41] eal: enable memory hotplug support in rte_malloc

2018-03-19 Thread Olivier Matz
On Sat, Mar 03, 2018 at 01:46:05PM +, Anatoly Burakov wrote: > This set of changes enables rte_malloc to allocate and free memory > as needed. The way it works is, first malloc checks if there is > enough memory already allocated to satisfy user's request. If there > isn't, we try and allocate

[dpdk-dev] [PATCH 17/41] eal: enable memory hotplug support in rte_malloc

2018-03-03 Thread Anatoly Burakov
This set of changes enables rte_malloc to allocate and free memory as needed. The way it works is, first malloc checks if there is enough memory already allocated to satisfy user's request. If there isn't, we try and allocate more memory. The reverse happens with free - we free an element, check it