[dpdk-dev] [PATCH v3 07/10] eal: extract common code for memseg list initialization

Thomas Monjalon thomas at monjalon.net
Thu Apr 16 00:19:41 CEST 2020


14/04/2020 21:44, Dmitry Kozlyuk:
> All supported OS create memory segment lists (MSL) and reserve VA space
> for them in a nearly identical way. Move common code into EAL private
> functions to reduce duplication.
> 
> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> ---
>  lib/librte_eal/common/eal_common_memory.c | 54 ++++++++++++++++++
>  lib/librte_eal/common/eal_private.h       | 34 ++++++++++++
>  lib/librte_eal/freebsd/eal_memory.c       | 54 +++---------------
>  lib/librte_eal/linux/eal_memory.c         | 68 +++++------------------
>  4 files changed, 110 insertions(+), 100 deletions(-)

Didn't review this change, but thanks for doing such cleanup.





More information about the dev mailing list