xpmem: Fix deadlock in xpmem_remove_process_memory_range()

This reverts commit 2fe5c8de2e.

Change-Id: I8ec84f654aeee7cf83603abb2aca5e90b735e977
This commit is contained in:
Yoshihisa Morizumi
2021-01-08 17:23:32 +09:00
committed by Masamichi Takagi
parent 5dd989450d
commit 865eb37b11
20 changed files with 1470 additions and 4 deletions

15
test/xpmem/mc_run.sh Executable file
View 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