aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm_main.c
diff options
context:
space:
mode:
authorIzik Eidus <izike@qumranet.com>2007-11-20 11:30:04 +0200
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:53:08 +0200
commit2065b3727ecdb64450597d70f7e13af00b85dbd8 (patch)
treecbfcc78359c7738ee748569bbc6eec39f17a8784 /drivers/kvm/kvm_main.c
parentKVM: Export include/asm-x86/kvm.h (diff)
downloadlinux-dev-2065b3727ecdb64450597d70f7e13af00b85dbd8.tar.xz
linux-dev-2065b3727ecdb64450597d70f7e13af00b85dbd8.zip
KVM: MMU: Fix potential memory leak with smp real-mode
When we map a page, we check whether some other vcpu mapped it for us and if so, bail out. But we should decrease the refcount on the page as we do so. Signed-off-by: Izik Eidus <izike@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions