KVM: MMU: split kvm_mmu_free_page
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 11 Jul 2011 19:27:14 +0000 (03:27 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Jul 2011 08:50:32 +0000 (11:50 +0300)
commitbd4c86eaa6ff10abc4e00d0f45d2a28b10b09df4
tree3e3cecd289b6fca2655e286de95f6542ad360d3c
parentaa6bd187af013319c3f18be7b0970d9a3d1be696
KVM: MMU: split kvm_mmu_free_page

Split kvm_mmu_free_page to kvm_mmu_isolate_page and
kvm_mmu_free_page

One is used to remove the page from cache under mmu lock and the other is
used to free page table out of mmu lock

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c