xpmem: support large page
1. try to use as large page as possible on attach 2. pre-map resident remote pages on attach Change-Id: I5580682a4199e94085a9bad9ce3958a0f14cdcea
This commit is contained in:
committed by
Masamichi Takagi
parent
3aaa5350f0
commit
d2db639853
19
test/issues/1473/common.sh.in
Normal file
19
test/issues/1473/common.sh.in
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/sh
|
||||
|
||||
# define WORKDIR expecting this script is on <autotest>/data/scripts/
|
||||
SCRIPT_PATH=$(readlink -m "${BASH_SOURCE[0]}")
|
||||
AUTOTEST_HOME="${SCRIPT_PATH%/*/*/*/*}"
|
||||
if [[ -e ${AUTOTEST_HOME}/bin/config.sh ]]; then
|
||||
. ${AUTOTEST_HOME}/bin/config.sh
|
||||
else
|
||||
WORKDIR=$(pwd)
|
||||
fi
|
||||
|
||||
arch=`uname -p`
|
||||
if [ -f @CMAKE_INSTALL_PREFIX@/etc/${arch}.conf ]; then
|
||||
. @CMAKE_INSTALL_PREFIX@/etc/${arch}.conf
|
||||
else
|
||||
echo "unknown arch: $1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user