Commit a9616e84 authored by Jim Harris's avatar Jim Harris Committed by Daniel Verkamp
Browse files

setup.sh: allow overriding of NRHUGE



Default is still 1024 2MB huge pages, but user can
override this by setting a different value in the
environment.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: I8d189d3a71f474469a44b6eb41b4443591863f3c
parent 23fc6682
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ function reset_freebsd {
	kldunload nic_uio.ko || true
}

NRHUGE=1024
: ${NRHUGE:=1024}

username=$1
mode=$2