]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
KVM: Do not report TPR write to userspace if new value bigger or equal to a previous...
authorGleb Natapov <gleb@redhat.com>
Tue, 21 Apr 2009 14:45:06 +0000 (17:45 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:47 +0000 (11:48 +0300)
commit0a5fff192388d2a74aa9ab5e0d394b745df9f225
tree7d837d9673b746b3e869089b3753cf62361096dc
parent615d5193055880d44db92b72403b7549251ac2a6
KVM: Do not report TPR write to userspace if new value bigger or equal to a previous one.

Saves many exits to userspace in a case of IRQ chip in userspace.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c