numam-dpdk/config
Sergio Gonzalez Monroy fafcc11985 mem: rework memzone to be allocated by malloc
In the current memory hierarchy, memsegs are groups of physically
contiguous hugepages, memzones are slices of memsegs and malloc further
slices memzones into smaller memory chunks.

This patch modifies malloc so it partitions memsegs instead of memzones.
Thus memzones would call malloc internally for memory allocation while
maintaining its ABI.

During initialization malloc sets all available memory as part of the heaps.
CONFIG_RTE_MALLOC_MEMZONE_SIZE was used to specify the default memory
block size to expand the heap. The option is not used/relevant anymore,
so we remove it.

Remove free_memseg field from internal mem config structure as it is
not used anymore.
Also remove code in ivshmem that was setting up free_memseg on init.

It would be possible to free memzones and therefore any other structure
based on memzones, ie. mempools

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
2015-07-16 13:59:24 +02:00
..
common_bsdapp mem: rework memzone to be allocated by malloc 2015-07-16 13:59:24 +02:00
common_linuxapp mem: rework memzone to be allocated by malloc 2015-07-16 13:59:24 +02:00
defconfig_i686-native-linuxapp-gcc config: cleanup duplicated comments 2014-07-19 01:54:35 +02:00
defconfig_i686-native-linuxapp-icc config: cleanup duplicated comments 2014-07-19 01:54:35 +02:00
defconfig_ppc_64-power8-linuxapp-gcc config: remove combined library name option 2015-07-13 16:15:52 +02:00
defconfig_tile-tilegx-linuxapp-gcc mpipe: add TILE-Gx mPIPE poll mode driver 2015-07-13 16:15:52 +02:00
defconfig_x86_64-ivshmem-linuxapp-gcc remove trailing whitespaces 2014-06-11 00:29:34 +02:00
defconfig_x86_64-ivshmem-linuxapp-icc remove trailing whitespaces 2014-06-11 00:29:34 +02:00
defconfig_x86_64-native-bsdapp-clang config: add clang 2014-07-19 01:54:35 +02:00
defconfig_x86_64-native-bsdapp-gcc config: cleanup duplicated comments 2014-07-19 01:54:35 +02:00
defconfig_x86_64-native-linuxapp-clang mem: support layout of IBM Power 2014-11-26 21:50:10 +01:00
defconfig_x86_64-native-linuxapp-gcc mem: support layout of IBM Power 2014-11-26 21:50:10 +01:00
defconfig_x86_64-native-linuxapp-icc mem: support layout of IBM Power 2014-11-26 21:50:10 +01:00
defconfig_x86_x32-native-linuxapp-gcc mk: support x32 ABI 2015-02-18 20:26:33 +01:00