[Qemu-devel] [PATCH 0/3] target/arm: Reduce tlb_flush overhead

Richard Henderson posted 3 patches 5 years, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181018182758.18646-1-richard.henderson@linaro.org
Test docker-clang@ubuntu passed
Test checkpatch passed
Test asan passed
Test docker-mingw@fedora failed
Test docker-quick@centos7 passed
There is a newer version of this series
target/arm/helper.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
[Qemu-devel] [PATCH 0/3] target/arm: Reduce tlb_flush overhead
Posted by Richard Henderson 5 years, 6 months ago
While installing AArch64 Ubuntu into a new vm,
I happened to notice that tlb_flush+memset was
consuming 25% of the total runtime.

This patch set reduces that overhead to 10%.
Full tlb flushes are down to 11k from 1.8M,
when pausing the installation at the first menu.


r~


Richard Henderson (3):
  target/arm: Remove writefn from TTBR0_EL3
  target/arm: Only flush tlb if ASID changes
  target/arm: Flush only the TLBs affected by TTBR*_EL1

 target/arm/helper.c | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

-- 
2.17.2