qemu/accel
Richard Henderson 8f5db64153 cputlb: Partially inline memory_region_section_get_iotlb
There is only one caller, tlb_set_page_with_attrs.  We cannot
inline the entire function because the AddressSpaceDispatch
structure is private to exec.c, and cannot easily be moved to
include/exec/memory-internal.h.

Compute is_ram and is_romd once within tlb_set_page_with_attrs.
Fold the number of tests against these predicates.  Compute
cpu_physical_memory_is_clean outside of the tlb lock region.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2019-09-25 10:44:27 -07:00
..
kvm sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
stubs Clean up inclusion of exec/cpu-common.h 2019-08-16 13:31:52 +02:00
tcg cputlb: Partially inline memory_region_section_get_iotlb 2019-09-25 10:44:27 -07:00
accel.c accel: Remove unused AccelClass::available field 2019-05-02 16:56:33 +02:00
Makefile.objs qtest: Don't compile qtest accel on non-POSIX systems 2019-05-02 16:56:33 +02:00
qtest.c qtest: Don't compile qtest accel on non-POSIX systems 2019-05-02 16:56:33 +02:00