summary refs log tree commit diff stats
path: root/include/exec/cpu-common.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-07-09 16:56:48 -0700
committerRichard Henderson <richard.henderson@linaro.org>2024-07-23 10:56:16 +1000
commitf6bcc5b8f91e3c1b855c3078d9133f3918080276 (patch)
tree0d01d6a4ca533b476d0b11ab3771d6c752d18acb /include/exec/cpu-common.h
parentc6d84fd7cfb46a67c5c0404e93ed024cd3a14e6e (diff)
downloadfocaccia-qemu-f6bcc5b8f91e3c1b855c3078d9133f3918080276.tar.gz
focaccia-qemu-f6bcc5b8f91e3c1b855c3078d9133f3918080276.zip
target/ppc: Improve helper_dcbz for user-only
Mark the reserve_addr check unlikely.  Use tlb_vaddr_to_host
instead of probe_write, relying on the memset itself to test
for page writability.  Use set/clear_helper_retaddr so that
we can properly unwind on segfault.

With this, a trivial loop around guest memset will no longer
spend nearly 25% of runtime within page_get_flags.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/cpu-common.h')
0 files changed, 0 insertions, 0 deletions