Re: [PATCH v3 3/6] accel/tcg: Suppress auto-invalidate in probe_access_internal

2022-09-20 Thread Peter Maydell
On Mon, 5 Sept 2022 at 21:26, Richard Henderson wrote: > > When PAGE_WRITE_INV is set when calling tlb_set_page, > we immediately set TLB_INVALID_MASK in order to force > tlb_fill to be called on the next lookup. Here in > probe_access_internal, we have just called tlb_fill > and eliminated true

[PATCH v3 3/6] accel/tcg: Suppress auto-invalidate in probe_access_internal

2022-09-05 Thread Richard Henderson
When PAGE_WRITE_INV is set when calling tlb_set_page, we immediately set TLB_INVALID_MASK in order to force tlb_fill to be called on the next lookup. Here in probe_access_internal, we have just called tlb_fill and eliminated true misses, thus the lookup must be valid. This allows us to remove a w