[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v3 1/5] tcg: Add tlb_index and tlb_entry helpers
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [RFC v3 1/5] tcg: Add tlb_index and tlb_entry helpers |
Date: |
Thu, 11 Oct 2018 15:23:10 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 10/9/18 10:51 AM, Emilio G. Cota wrote:
> From: Richard Henderson <address@hidden>
>
> Isolate the computation of an index from an address into a
> helper before we change that function.
>
> Reviewed-by: Alex Bennée <address@hidden>
> Signed-off-by: Richard Henderson <address@hidden>
> [ cota: convert tlb_vaddr_to_host; use atomic_read on addr_write ]
> Signed-off-by: Emilio G. Cota <address@hidden>
> ---
> accel/tcg/softmmu_template.h | 68 ++++++++++++++++----------------
> include/exec/cpu_ldst.h | 19 +++++++--
> include/exec/cpu_ldst_template.h | 25 ++++++------
> accel/tcg/cputlb.c | 61 +++++++++++++---------------
> 4 files changed, 90 insertions(+), 83 deletions(-)
Queued.
r~
- [Qemu-devel] [RFC v3 0/5] Dynamic TLB sizing, Emilio G. Cota, 2018/10/09
- [Qemu-devel] [RFC v3 2/5] (XXX) cputlb: introduce indirection for TLB size, Emilio G. Cota, 2018/10/09
- [Qemu-devel] [RFC v3 3/5] cputlb: do not evict empty entries to the vtlb, Emilio G. Cota, 2018/10/09
- [Qemu-devel] [RFC v3 4/5] cputlb: track TLB use rate, Emilio G. Cota, 2018/10/09
- [Qemu-devel] [RFC v3 5/5] (XXX) cputlb: dynamically resize TLBs based on use rate, Emilio G. Cota, 2018/10/09
- [Qemu-devel] [RFC v3 1/5] tcg: Add tlb_index and tlb_entry helpers, Emilio G. Cota, 2018/10/09
- Re: [Qemu-devel] [RFC v3 1/5] tcg: Add tlb_index and tlb_entry helpers,
Richard Henderson <=