On 6/13/2023 10:50 AM, fengchengwen wrote:
Hi Ferruh,

On 2023/6/12 21:53, Ferruh Yigit wrote:
On 2/9/2023 6:36 AM, Chengwen Feng wrote:
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



Hi,

From my understanding, this library is not intended to support secondary process use cases?

--
Thanks,
Anatoly

Reply via email to