]> git.proxmox.com Git - mirror_qemu.git/commit
cputlb: Fold TLB_RECHECK into TLB_INVALID_MASK
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 23 Aug 2019 22:12:32 +0000 (15:12 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Sep 2019 15:30:39 +0000 (08:30 -0700)
commit30d7e098d5c38644359820317fcf72e3e129ec53
tree55ac8fed388ffa8cb3e92a8c37dea9edce816182
parent0026348b48fe532279e8c12b100c16c1aa991373
cputlb: Fold TLB_RECHECK into TLB_INVALID_MASK

We had two different mechanisms to force a recheck of the tlb.

Before TLB_RECHECK was introduced, we had a PAGE_WRITE_INV bit
that would immediate set TLB_INVALID_MASK, which automatically
means that a second check of the tlb entry fails.

We can use the same mechanism to handle small pages.
Conserve TLB_* bits by removing TLB_RECHECK.

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c
include/exec/cpu-all.h