mem: move librte_malloc to eal/common
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Wed, 15 Jul 2015 16:32:20 +0000 (17:32 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jul 2015 11:44:48 +0000 (13:44 +0200)
commit2f9d47013e4dbb7381914e6e2e2470f69225cafc
tree5f71aca0470d504d939f40ae537de762b6fa57fc
parent58d3da9eddad28012c16523aa0b5f63dae791bcb
mem: move librte_malloc to eal/common

Move malloc inside eal and create a new section in MAINTAINERS file for
Memory Allocation in EAL.

Create a dummy malloc library to avoid breaking applications that have
librte_malloc in their DT_NEEDED entries.

This is the first step towards using malloc to allocate memory directly
from memsegs. Thus, memzones would allocate memory through malloc,
allowing to free memzones.

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
43 files changed:
MAINTAINERS
config/common_bsdapp
config/common_linuxapp
drivers/net/af_packet/Makefile
drivers/net/bonding/Makefile
drivers/net/e1000/Makefile
drivers/net/enic/Makefile
drivers/net/fm10k/Makefile
drivers/net/i40e/Makefile
drivers/net/ixgbe/Makefile
drivers/net/mlx4/Makefile
drivers/net/null/Makefile
drivers/net/pcap/Makefile
drivers/net/virtio/Makefile
drivers/net/vmxnet3/Makefile
drivers/net/xenvirt/Makefile
lib/Makefile
lib/librte_acl/Makefile
lib/librte_eal/bsdapp/eal/Makefile
lib/librte_eal/bsdapp/eal/rte_eal_version.map
lib/librte_eal/common/Makefile
lib/librte_eal/common/include/rte_malloc.h [new file with mode: 0644]
lib/librte_eal/common/malloc_elem.c [new file with mode: 0644]
lib/librte_eal/common/malloc_elem.h [new file with mode: 0644]
lib/librte_eal/common/malloc_heap.c [new file with mode: 0644]
lib/librte_eal/common/malloc_heap.h [new file with mode: 0644]
lib/librte_eal/common/rte_malloc.c [new file with mode: 0644]
lib/librte_eal/linuxapp/eal/Makefile
lib/librte_eal/linuxapp/eal/rte_eal_version.map
lib/librte_hash/Makefile
lib/librte_lpm/Makefile
lib/librte_malloc/Makefile
lib/librte_malloc/malloc_elem.c [deleted file]
lib/librte_malloc/malloc_elem.h [deleted file]
lib/librte_malloc/malloc_heap.c [deleted file]
lib/librte_malloc/malloc_heap.h [deleted file]
lib/librte_malloc/rte_malloc.c
lib/librte_malloc/rte_malloc.h [deleted file]
lib/librte_malloc/rte_malloc_version.map
lib/librte_mempool/Makefile
lib/librte_port/Makefile
lib/librte_ring/Makefile
lib/librte_table/Makefile