diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-10-05 09:44:52 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-10-26 11:11:28 +1000 |
commit | 8f39e01db9f82033543f707f7b06f81cb675ff67 (patch) | |
tree | 6eb1fd76a6fd6749587722789e7dab1a3048aaf9 /tests/qemu-iotests/104.out | |
parent | 24ace1ac3cf4d64bc76b543224c1c0379fa34b51 (diff) | |
download | qemu-8f39e01db9f82033543f707f7b06f81cb675ff67.zip qemu-8f39e01db9f82033543f707f7b06f81cb675ff67.tar.gz qemu-8f39e01db9f82033543f707f7b06f81cb675ff67.tar.bz2 |
accel/tcg: Call tb_invalidate_phys_page for PAGE_RESET
When PAGE_RESET is set, we are replacing pages with new
content, which means that we need to invalidate existing
cached data, such as TranslationBlocks. Perform the
reset invalidate while we're doing other invalidates,
which allows us to remove the separate invalidates from
the user-only mmap/munmap/mprotect routines.
In addition, restrict invalidation to PAGE_EXEC pages.
Since cdf713085131, we have validated PAGE_EXEC is present
before translation, which means we can assume that if the
bit is not present, there are no translations to invalidate.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tests/qemu-iotests/104.out')
0 files changed, 0 insertions, 0 deletions