lkml.org 
[lkml]   [2012]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/8] KVM: minor cleanups and optimizations
Date
Hi Avi, Marcelo

this patch series implements a few micro optimizations for the x86 KVM
code base. The two major changes are constification of variables and an
optimization for the SSE emulation. The former gives the compiler more
opportunities for optimizations and ensures the r/o data is not put in
a cache line together with data that gets written to. The latter should
speed up the emulation of SSE register moves as the aligned variant of
MOVDQ has lower latencies and higher throughput than the unaligned one.

Regards,

Mathias Krause (8):
KVM: x86: minor size optimization
KVM: x86 emulator: use aligned variants of SSE register ops
KVM: x86: mark opcode tables const
KVM: x86: constify emulate_ops
KVM: x86: constify read_write_emulator_ops
KVM: x86: more constification
KVM: VMX: constify lookup tables
KVM: SVM: constify lookup tables

arch/x86/include/asm/kvm_emulate.h | 2 +-
arch/x86/kvm/cpuid.c | 12 ++--
arch/x86/kvm/emulate.c | 126 ++++++++++++++++++------------------
arch/x86/kvm/lapic.c | 2 +-
arch/x86/kvm/svm.c | 8 +--
arch/x86/kvm/vmx.c | 14 ++--
arch/x86/kvm/x86.c | 12 ++--
7 files changed, 88 insertions(+), 88 deletions(-)

--
1.7.10.4



\
 
 \ /
  Last update: 2012-08-30 02:21    [W:0.114 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site