[dpdk-dev] [PATCH v7 0/9] Dynamic memzones

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Jul 13 15:15:29 CEST 2015


2015-07-03 10:55, Sergio Gonzalez Monroy:
> Current implemetation allows reserving/creating memzones but not the opposite
> (unreserve/free). This affects mempools and other memzone based objects.
> 
> From my point of view, implementing free functionality for memzones would look
> like malloc over memsegs.
> Thus, this approach moves malloc inside eal (which in turn removes a circular
> dependency), where malloc heaps are composed of memsegs.
> We keep both malloc and memzone APIs as they are, but memzones allocate its
> memory by calling malloc_heap_alloc.
> Some extra functionality is required in malloc to allow for boundary constrained
> memory requests.
> In summary, currently malloc is based on memzones, and with this approach
> memzones are based on malloc.

Please Sergio, could you rebase your work on top of TileGX series
which made some important modifications in memzones?
The TileGX series is integrated first. The goal is to integrate this series
as soon as possible.

Thanks


More information about the dev mailing list