aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/multiarch/Makefile.target
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2022-12-23 13:02:52 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-01-05 11:41:29 -0800
commitd4846c33ebe04d2141dcc613b5558d2f1d8077af (patch)
treee539661999b555bf68097bf561189f059a5afa9f /tests/tcg/multiarch/Makefile.target
parente630c0126c561b7db26790e8288c4fe9b61ae8dc (diff)
tests/tcg/multiarch: add vma-pthread.c
Add a test that locklessly changes and exercises page protection bits from various threads. This helps catch race conditions in the VMA handling. Acked-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Message-Id: <20221223120252.513319-1-iii@linux.ibm.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tests/tcg/multiarch/Makefile.target')
-rw-r--r--tests/tcg/multiarch/Makefile.target3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tcg/multiarch/Makefile.target b/tests/tcg/multiarch/Makefile.target
index 5f0fee1aad..e7213af492 100644
--- a/tests/tcg/multiarch/Makefile.target
+++ b/tests/tcg/multiarch/Makefile.target
@@ -39,6 +39,9 @@ signals: LDFLAGS+=-lrt -lpthread
munmap-pthread: CFLAGS+=-pthread
munmap-pthread: LDFLAGS+=-pthread
+vma-pthread: CFLAGS+=-pthread
+vma-pthread: LDFLAGS+=-pthread
+
# We define the runner for test-mmap after the individual
# architectures have defined their supported pages sizes. If no
# additional page sizes are defined we only run the default test.