]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/tcg/multiarch: add vma-pthread.c
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 23 Dec 2022 12:02:52 +0000 (13:02 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 5 Jan 2023 19:41:29 +0000 (11:41 -0800)
commitd4846c33ebe04d2141dcc613b5558d2f1d8077af
treee539661999b555bf68097bf561189f059a5afa9f
parente630c0126c561b7db26790e8288c4fe9b61ae8dc
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>
tests/tcg/multiarch/Makefile.target
tests/tcg/multiarch/munmap-pthread.c
tests/tcg/multiarch/nop_func.h [new file with mode: 0644]
tests/tcg/multiarch/vma-pthread.c [new file with mode: 0644]