]> Git Repo - qemu.git/commit
cputlb: Hoist timestamp outside of loops over tlbs
authorRichard Henderson <[email protected]>
Sat, 7 Dec 2019 22:36:01 +0000 (14:36 -0800)
committerRichard Henderson <[email protected]>
Wed, 22 Jan 2020 00:21:59 +0000 (14:21 -1000)
commit3c3959f2d9af919e562d37f6d40322a80a90469d
tree5e0ffc2dd9b12141997dac1f8202581c7a140d82
parent3c16304af4241f242eeacae646457b9720aa71db
cputlb: Hoist timestamp outside of loops over tlbs

Do not call get_clock_realtime() in tlb_mmu_resize_locked,
but hoist outside of any loop over a set of tlbs.  This is
only two (indirect) callers, tlb_flush_by_mmuidx_async_work
and tlb_flush_page_locked, so not onerous.

Reviewed-by: Alex Bennée <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
accel/tcg/cputlb.c
This page took 0.024955 seconds and 4 git commands to generate.