By default on Linux, we hardcode HUGEMEM=4096. But some environments (like VMs) may not have enough memory to allocate that much hugepage memory, and the user may want to run some test scripts that don't require that much memory. So allow user to specify HUGEMEM in their environment before calling a script that uses autotest_common.sh. If it's set, it will use the specified value, otherwise default to the values used prior to this patch. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I6e441ed2d703a04430305ad712903a7fa41190c1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9726 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
||
---|---|---|
.. | ||
config | ||
lib | ||
applications.sh | ||
autotest_common.sh | ||
skipped_build_files.txt | ||
skipped_tests.txt |