From: Joerg R. <joe...@am...> - 2008-04-16 14:54:20
|
This patch series implements optimizations to the CR8 intercept handling in SVM. With these patches applied CR8 reads are not intercepted anymore. The writes to CR8 are only intercepted if the TPR masks interrupts. This significantly reduces the number of total CR8 intercepts when running Windows 64 bit versions. Some quick numbers: Boot and shudown of Vista 64: Without these patches: ~38.000.000 CR8 writes intercepted With these patches: ~38.000 CR8 writes intercepted diffstat: arch/x86/kvm/lapic.c | 1 + arch/x86/kvm/svm.c | 68 ++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 56 insertions(+), 13 deletions(-) |