1e975578bc
paddr[i] + pg_sz always points to the start physical address of the 2nd page after pddr[i], so only up to 2 pages can be combinded to be used. With this revision, more than 2 pages can be used. Fixes: 84121f197187 ("mempool: store memory chunks in a list") Signed-off-by: Wei Dai <wei.dai@intel.com> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>