[PATCH v3 00/10] introduce memarea library
David Marchand
david.marchand at redhat.com
Mon Oct 3 09:42:13 CEST 2022
On Sat, Sep 24, 2022 at 9:56 AM Chengwen Feng <fengchengwen at huawei.com> wrote:
>
> The memarea library is an allocator of variable-size object which based
> on a memory region. The main features are as follows:
>
> - The default alignment size is RTE_CACHE_LINE_SIZE.
>
> - The memory region can be initialized from the following memory
> sources:
> 1. RTE memory: e.g. invoke rte_malloc_socket to obtain.
> 2. System API: e.g. invoke posix_memalign to obtain.
> 3. User provided address: it can be from extended memory as long as
> it is available. The address must be aligned to
> RTE_CACHE_LINE_SIZE.
> 4. User provided memarea: it can be from another memarea.
>
> - It provides refcnt feature which could be useful in multi-reader
> scenario.
>
> - It provides backup memory mechanism, the memarea could use another
> memarea as a backup.
>
> 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
>
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
This series did not pass through the CI, as its patches are spread
over different series in patchwork.
https://patchwork.dpdk.org/project/dpdk/list/?submitter=2146
There was probably something wrong when sending the patches, please
check your setup and repost them.
Thanks.
--
David Marchand
More information about the dev
mailing list