> From: Chengwen Feng [mailto:fengcheng...@huawei.com]
> Sent: Wednesday, 8 February 2023 09.25
> 
> The memarea library is an allocator of variable-size object which based
> on a memory region. The main features are as follows:
> 
> - The memory region can be initialized from the following memory
>   sources:
>   1. HEAP: e.g. invoke rte_malloc_socket.
>   2. LIBC: e.g. invoke posix_memalign.
>   3. Another memarea: it can be from another memarea.
> 
> - It supports MT-safe as long as it's specified at creation time.
> 
> Note:
> a) The memarea is oriented towards the application layer, which could
> provides 'region-based memory management' [1] function.
> b) The eal library also provide memory zone/heap management, but these
> are tied to huge pages management.
> 
> [1] https://en.wikipedia.org/wiki/Region-based_memory_management
> 
> Chengwen Feng (6):
>   memarea: introduce memarea library
>   test/memarea: support memarea test
>   memarea: support alloc and free API
>   test/memarea: support alloc and free API test
>   memarea: support dump API
>   test/memarea: support dump API test
> 
> ---
> v13:
> * address Morten's comments.

This means: "Make debug cookies optional, controlled by 
RTE_LIBRTE_MEMAREA_DEBUG; disabled by default."

Thank you.

Reply via email to