diff options
| author | Richard Henderson | 2019-09-20 06:09:58 +0200 |
|---|---|---|
| committer | Richard Henderson | 2019-09-25 19:44:27 +0200 |
| commit | 8f5db6415363740d4eac070bb381202c80a7fc34 (patch) | |
| tree | c97fe95c23772cb8db20c574fdc275eb64475616 /scripts | |
| parent | cputlb: Move NOTDIRTY handling from I/O path to TLB path (diff) | |
| download | qemu-8f5db6415363740d4eac070bb381202c80a7fc34.tar.gz qemu-8f5db6415363740d4eac070bb381202c80a7fc34.tar.xz qemu-8f5db6415363740d4eac070bb381202c80a7fc34.zip | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
