mem: fix 32-bit init config with meson
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 2 Jul 2020 10:57:21 +0000 (11:57 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 5 Jul 2020 14:46:35 +0000 (16:46 +0200)
When building with meson, the default size of virtual address space
reserved for mapping pages was globally set at 512GB, which is too big for
use in 32-bit processes. To match the behaviour with "make", we configure
this to be 512GB for 64-bit and 2GB for 32-bit builds.

Bugzilla ID: 498
Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>

No differences found