diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-07-16 16:54:16 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-07-23 17:57:10 +0100 |
| commit | 2c8412d469707124c6f471822aff2e2cab395907 (patch) | |
| tree | 30373a4755be4842e9949c959aefb39f7893a77a /scripts/git-submodule.sh | |
| parent | f1ce0b80283e19d5e65a5c2b0b4de6d92ca7f527 (diff) | |
| download | focaccia-qemu-2c8412d469707124c6f471822aff2e2cab395907.tar.gz focaccia-qemu-2c8412d469707124c6f471822aff2e2cab395907.zip | |
accel/tcg: Take mmap_lock in load_atomic*_or_exit
For user-only, the probe for page writability may race with another thread's mprotect. Take the mmap_lock around the operation. This is still faster than the start/end_exclusive fallback. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions