cputlb: Split large page tracking per mmu_idx
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 17 Oct 2018 18:48:40 +0000 (11:48 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 31 Oct 2018 12:16:08 +0000 (12:16 +0000)
commit1308e0267174daaf557dac8366ea2ba615d3337f
tree7191817d31abc476c944ae01c17dbab958184a42
parent60a2ad7d86e7379e6669806bedaa6cfdf4f2c2f4
cputlb: Split large page tracking per mmu_idx

The set of large pages in the kernel is probably not the same
as the set of large pages in the application.  Forcing one
range to cover both will flush more often than necessary.

This allows tlb_flush_page_async_work to flush just the one
mmu_idx implicated, which in turn allows us to remove
tlb_check_page_and_flush_by_mmuidx_async_work.

Tested-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c
include/exec/cpu-defs.h