Re: [dpdk-dev] [PATCH v3 03/68] eal: make malloc heap a doubly-linked list

2018-04-04 Thread Burakov, Anatoly
On 04-Apr-18 12:32 AM, Stephen Hemminger wrote: On Wed, 4 Apr 2018 00:21:15 +0100 Anatoly Burakov wrote: As we are preparing for dynamic memory allocation, we need to be able to handle holes in our malloc heap, hence we're switching to doubly linked list, and prepare infrastructure to support

Re: [dpdk-dev] [PATCH v3 03/68] eal: make malloc heap a doubly-linked list

2018-04-03 Thread Stephen Hemminger
On Wed, 4 Apr 2018 00:21:15 +0100 Anatoly Burakov wrote: > As we are preparing for dynamic memory allocation, we need to be > able to handle holes in our malloc heap, hence we're switching to > doubly linked list, and prepare infrastructure to support it. > > Since our heap is now aware where a

[dpdk-dev] [PATCH v3 03/68] eal: make malloc heap a doubly-linked list

2018-04-03 Thread Anatoly Burakov
As we are preparing for dynamic memory allocation, we need to be able to handle holes in our malloc heap, hence we're switching to doubly linked list, and prepare infrastructure to support it. Since our heap is now aware where are our first and last elements, there is no longer any need to have a