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: Jim Harris <james.r.harris@intel.com> Change-Id: I8d189d3a71f474469a44b6eb41b4443591863f3c
This commit is contained in:
parent
23fc6682fb
commit
a9616e8497
@ -163,7 +163,7 @@ function reset_freebsd {
|
||||
kldunload nic_uio.ko || true
|
||||
}
|
||||
|
||||
NRHUGE=1024
|
||||
: ${NRHUGE:=1024}
|
||||
|
||||
username=$1
|
||||
mode=$2
|
||||
|
Loading…
Reference in New Issue
Block a user