mbox series

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

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

Message

Richard Henderson Oct. 19, 2018, 1:56 a.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.

Changes since v1:
  * Rename the function in patch 3 to vmsa_ttbr_el1_write.


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