[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v2 3/5] cputlb: do not evict empty entries to the
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [RFC v2 3/5] cputlb: do not evict empty entries to the vtlb |
Date: |
Tue, 9 Oct 2018 07:49:54 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 10/8/18 4:27 PM, Emilio G. Cota wrote:
> 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.
>
> Signed-off-by: Emilio G. Cota <address@hidden>
> ---
> include/exec/cpu-all.h | 9 +++++++++
> accel/tcg/cputlb.c | 2 +-
> 2 files changed, 10 insertions(+), 1 deletion(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- [Qemu-devel] [RFC v2 0/5] Dynamic TLB sizing, Emilio G. Cota, 2018/10/08
- [Qemu-devel] [RFC v2 4/5] cputlb: track TLB use rate, Emilio G. Cota, 2018/10/08
- [Qemu-devel] [RFC v2 2/5] (XXX) cputlb: introduce indirection for TLB size, Emilio G. Cota, 2018/10/08
- [Qemu-devel] [RFC v2 5/5] cputlb: dynamically resize TLBs based on use rate, Emilio G. Cota, 2018/10/08
- [Qemu-devel] [RFC v2 1/5] tcg: Add tlb_index and tlb_entry helpers, Emilio G. Cota, 2018/10/08
- [Qemu-devel] [RFC v2 3/5] cputlb: do not evict empty entries to the vtlb, Emilio G. Cota, 2018/10/08
- Re: [Qemu-devel] [RFC v2 0/5] Dynamic TLB sizing, Alex Bennée, 2018/10/09