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 bsd-user/host/x86_64/host-signal.h: Implement host_signal_* 2022-01-28 15:52:39 -07:00
i386 Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
include user: move common-user includes to a subdirectory of {bsd,linux}-user/ 2022-01-12 14:08:29 +01:00
netbsd Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
openbsd Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
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 bsd-user: TARGET_NGROUPS unused in this file, remove 2021-09-10 14:13:06 -06:00
elfcore.c bsd-user: add stubbed out core dump support 2021-09-10 14:13:06 -06:00
elfload.c Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
errno_defs.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
main.c include: rename qemu-common.h qemu/help-texts.h 2022-04-21 16:58:24 +04:00
meson.build bsd-user: Move system call building to os-syscall.c 2022-02-26 10:01:38 -07:00
mmap.c accel/tcg: Call tb_invalidate_phys_page for PAGE_RESET 2022-10-26 11:11:28 +10:00
qemu.h Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
signal-common.h bsd-user/signal.c: Only copy the _capsicum for FreeBSD_version > 1400026 2022-02-01 14:43:20 -07:00
signal.c compiler.h: replace QEMU_NORETURN with G_NORETURN 2022-04-21 17:03:51 +04:00
strace.c bsd-user/strace.c: print_taken_signal 2022-01-28 15:53:41 -07:00
syscall_defs.h bsd-user: Implement open, openat and close 2022-06-13 15:48:09 -06:00
trace-events bsd-user: Add trace events for bsd-user 2022-01-28 15:53:41 -07:00
trace.h bsd-user: Add trace events for bsd-user 2022-01-28 15:53:41 -07:00
uaccess.c