mem: fix ivshmem in malloc heap
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Fri, 7 Aug 2015 15:27:32 +0000 (16:27 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 9 Aug 2015 17:35:50 +0000 (19:35 +0200)
commitd1668c9762ad5f2e9e6ad8436e6a23bac64473c9
treeca2276fcac4ea247a5566683cc8c0bac00756900
parent5667c8dfaa98b1d4763270c6a1fcddcc031996ee
mem: fix ivshmem in malloc heap

After the changes introduced by Dynamic Memzones, all the memsegs were
added to the malloc heap during init.

Those changes did not account for IVSHMEM memsegs which should not be
added to the malloc heap as part of available memory.

Fixes: fafcc11985a2 ("mem: rework memzone to be allocated by malloc")

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
lib/librte_eal/common/malloc_heap.c