On 02/20/2015 09:57 AM, Paolo Bonzini wrote: > PowerPC TCG flushes the TLB on every IR/DR change, which basically > means on every user<->kernel context switch. Encode IR/DR in the > MMU index. > > This brings the number of TLB flushes down from ~900000 to ~50000 > for starting up the Debian installer, which is in line with x86 > and gives a ~10% performance improvement. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > target-ppc/cpu.h | 12 +++++++----- > target-ppc/excp_helper.c | 3 --- > target-ppc/helper_regs.h | 15 +++++++++------ > 3 files changed, 16 insertions(+), 14 deletions(-)
I'm not an expert on ppc memory management, but it certainly LGTM. r~