mem: extract common dynamic memory allocation
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Mon, 15 Jun 2020 00:43:47 +0000 (03:43 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 15 Jun 2020 17:26:37 +0000 (19:26 +0200)
commit694161b7e0658450f3771f5d31000b2554b4694b
treecc4b31f1ee3d46b4f8a347376c0332e3cb3bf24c
parent83713ef2761085501fbc4e3703817fafb3184b3b
mem: extract common dynamic memory allocation

Code in Linux EAL that supports dynamic memory allocation (as opposed to
static allocation used by FreeBSD) is not OS-dependent and can be reused
by Windows EAL. Move such code to a file compiled only for the OS that
require it. Keep Anatoly Burakov maintainer of extracted code.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
MAINTAINERS
lib/librte_eal/common/eal_common_dynmem.c [new file with mode: 0644]
lib/librte_eal/common/eal_private.h
lib/librte_eal/common/meson.build
lib/librte_eal/freebsd/eal_memory.c
lib/librte_eal/linux/Makefile
lib/librte_eal/linux/eal_memory.c