[dpdk-dev] [PATCH v8 2/9] eal: memzone allocated by malloc

2015-07-14 Thread Thomas Monjalon
There is an error with 32-bit build: lib/librte_eal/common/malloc_heap.c:83:2: error: large integer implicitly truncated to unsigned type [-Werror=overflow] case RTE_PGSIZE_4G: ^ lib/librte_eal/common/malloc_heap.c:86:2: error: large integer implicitly truncated to unsigned type

[dpdk-dev] [PATCH v8 2/9] eal: memzone allocated by malloc

2015-07-14 Thread Sergio Gonzalez Monroy
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