]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: remove dummy pages
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Thu, 26 Jul 2012 03:58:59 +0000 (11:58 +0800)
committerAvi Kivity <avi@redhat.com>
Thu, 26 Jul 2012 08:55:34 +0000 (11:55 +0300)
commit5c321bd6832c9de64c7e003be5402451b7dbce35
treea00cefe5c199c7e4845294f38475c3abd90e9419
parentc0bce0d6eff1cd73ce6fa566c44a3c26281cbb2a
KVM: remove dummy pages

Currently, kvm allocates some pages and use them as error indicators,
it wastes memory and is not good for scalability

Base on Avi's suggestion, we use the error codes instead of these pages
to indicate the error conditions

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm_host.h
virt/kvm/async_pf.c
virt/kvm/kvm_main.c