xpmem: Fix deadlock in xpmem_remove_process_memory_range()
Refs: #1330 Change-Id: Ib62e3a7fe2811577ba8cabf174f64827e65c422c
This commit is contained in:
15
test/xpmem/mc_run.sh
Executable file
15
test/xpmem/mc_run.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
test -e /tmp/xpmem.share && rm -f /tmp/xpmem.share
|
||||
test -e /tmp/xpmem.lock && rm -f /tmp/xpmem.lock
|
||||
|
||||
# create TMP_SHARE_SIZE bytes defined in xpmem_test.h
|
||||
for i in `seq 0 31` ; do
|
||||
echo -n 0 >> /tmp/xpmem.share
|
||||
done
|
||||
echo 0 > /tmp/xpmem.lock
|
||||
|
||||
# Run the main test app
|
||||
mcexec $PWD/xpmem_master
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user