qemu/accel
Emilio G. Cota 3cea94bbc9 cputlb: do not evict empty entries to the vtlb
Currently we evict an entry to the victim TLB when it doesn't match
the current address. But it could be that there's no match because
the current entry is empty (i.e. all -1's, for instance via tlb_flush).
Do not evict the entry to the vtlb in that case.

This change will help us keep track of the TLB's use rate, which
we'll use to implement a policy for dynamic TLB sizing.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <20190116170114.26802-2-cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2019-01-28 07:03:34 -08:00
..
kvm qemu/queue.h: leave head structs anonymous unless necessary 2019-01-11 15:46:55 +01:00
stubs tcg: simplify !CONFIG_TCG handling of tb_invalidate_* 2018-07-02 15:41:18 +02:00
tcg cputlb: do not evict empty entries to the vtlb 2019-01-28 07:03:34 -08:00
accel.c accel: Improve selection of the default accelerator 2019-01-11 13:57:23 +01:00
Makefile.objs kvm: add memory encryption context 2018-03-13 12:04:03 +01:00