]> 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)
commit66894682340c5181b6e1495c6a619c717905f144
treea00cefe5c199c7e4845294f38475c3abd90e9419
parent7fe19bbcbc6ba7c81b6639dc2ba59b45b4db5e32
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