qemu-e2k/bsd-user
Richard Henderson 8f39e01db9 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 cdf7130851, 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>
2022-10-26 11:11:28 +10:00
..
arm Clean up decorations and whitespace around header guards 2022-05-11 16:50:32 +02:00
freebsd bsd-user: Implement undelete 2022-07-02 07:52:48 -06:00
host
i386
include
netbsd
openbsd
x86_64 Clean up decorations and whitespace around header guards 2022-05-11 16:50:32 +02:00
bsd-file.h bsd-user: Remove stray 'inline' from do_bsd_close 2022-07-02 07:52:48 -06:00
bsd-proc.h bsd-user/freebsd/os-syscall.c: Implement exit 2022-06-10 22:03:50 -06:00
bsdload.c
elfcore.c
elfload.c
errno_defs.h
main.c
meson.build
mmap.c accel/tcg: Call tb_invalidate_phys_page for PAGE_RESET 2022-10-26 11:11:28 +10:00
qemu.h
signal-common.h
signal.c
strace.c
syscall_defs.h bsd-user: Implement open, openat and close 2022-06-13 15:48:09 -06:00
trace-events
trace.h
uaccess.c