diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-05-30 16:48:28 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-05-30 16:48:28 +0100 |
commit | 9d2eebd1f15e102181fcf9043489c71dd01bd7a2 (patch) | |
tree | ea30af9a5fd79e2db516f1c1bf881e4c4ffcb741 /linux-2.6-xen-sparse/arch/i386/kernel/init_task-xen.c | |
parent | 0055a08a1aa38080c32d05171169ee1a78f02288 (diff) | |
download | xen-9d2eebd1f15e102181fcf9043489c71dd01bd7a2.tar.gz xen-9d2eebd1f15e102181fcf9043489c71dd01bd7a2.tar.bz2 xen-9d2eebd1f15e102181fcf9043489c71dd01bd7a2.zip |
Add VMX memory-mapped Local APIC access optimization.
Some operating systems access the local APIC TPR very frequently, and
we handle that using software-based local APIC virtualization in Xen
today. Such virtualization incurs a number of VM exits from the
memory-access instructions against the APIC page in the guest.
The attached patch enables the TPR shadow feature that provides APIC
TPR virtualization in hardware. Our tests indicate it can
significantly boost the performance of such guests including 32-bit
Windows XP/2003.
Moreover, with the patch, local APIC accesses other than TPR in guests
are intercepted directly as APIC_ACCESS VM exits rather than
PAGE_FAULT VM exits; this can lower the emulation cost of such
accesses.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'linux-2.6-xen-sparse/arch/i386/kernel/init_task-xen.c')
0 files changed, 0 insertions, 0 deletions