Default huge page size to the regular page size 57/16657/2
authorDave Barach <dave@barachs.net>
Tue, 1 Jan 2019 14:45:08 +0000 (09:45 -0500)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 1 Jan 2019 19:43:55 +0000 (19:43 +0000)
commit036343b8b15389df52db12ff62da0133a8f030fd
treef39f3d0c983a71c90556930d892a55fb35c4aef1
parent671e60e65635b8d030bf303c88411192c747b59e
Default huge page size to the regular page size

With this simple tweak, vpp is OK for "make test" or non-dpdk driver
operation over a kernel which doesn't support hugepages at all.

Tested on a Raspberry-pi 3B+ running the Ubuntu 18.04 64-bit server
beta image. It's amazing that such a minimal system will not only
self-compile vpp, but also run the unit tests. It's slow, but what do
you expect for that amount of money?

Change-Id: I7f080f871c828cc4b44be13809495278fadbd717
Signed-off-by: Dave Barach <dave@barachs.net>
src/vppinfra/linux/mem.c