xpmem: fix mapping of attachment and segment
* Mapping attached part of segment is done at attach time instead of
make time to work with runtimes (e.g. OpenMPI) xpmem_make-ing the
entire user-space
* Mapping attached part of segment at attach time can be turned off by
specifying xpmem_remote_on_demand in kernel argument
* Mapping attachment chooses appropriate page-sizes, i.e., largest
allowed by memory range and segment page boundary
Fixes: a8696d8 "xpmem: Support large page attachment"
Change-Id: I44663865204036520e5f62fe22b9134ee4629f9b
This commit is contained in:
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