mbox series

[0/3] target/arm: Reduce tlb_flush overhead

Message ID 20181018182758.18646-1-richard.henderson@linaro.org
Headers show
Series target/arm: Reduce tlb_flush overhead | expand

Message

Richard Henderson Oct. 18, 2018, 6:27 p.m. UTC
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