mem: allow multiple page sizes to be requested
mem: allow multiple page sizes to be requested

This patch extends the memzone allocator to remove the restriction
that prevented callers from specifying multiple page sizes in the
flags argument.

In doing so, we also sanitize the free segment matching logic to get
rid of architecture specific disjunctions (2MB vs 1GB on x86, and 16MB
vs 16GB on PPC), thereby allowing for a broader range of hugepages on
architectures that support it.

Signed-off-by: Cyril Chemparathy <eff9b25a02e40cc8a3060ecfabdb379b97435a4e@ezchip.com>
Signed-off-by: Zhigang Lu <d473c8ac947e53ca706b2148c5db2c971399f855@ezchip.com>

tsphillips/dpdk-fork,tsphillips/dpdk-fork,mixja/dpdk,msune/dpdk,venkynv/dpdk-mirror,mixja/dpdk,john-mcnamara-intel/dpdk,venkynv/dpdk-mirror,venkynv/dpdk-mirror,mixja/dpdk,john-mcnamara-intel/dpdk,mixja/dpdk,msune/dpdk,tsphillips/dpdk-fork,john-mcnamara-intel/dpdk,msune/dpdk,tsphillips/dpdk-fork,venkynv/dpdk-mirror,john-mcnamara-intel/dpdk,msune/dpdk