KVM: MMU: lockless walking shadow page table
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 11 Jul 2011 19:32:13 +0000 (03:32 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Jul 2011 08:50:38 +0000 (11:50 +0300)
commitc2a2ac2b563ccc3a69540965b5a994c19e3817d7
tree83e3c35da3b9e696f77d08d6ab757bae606dd975
parent603e0651cfc8562b103454d7ded71f3ad1eb3a37
KVM: MMU: lockless walking shadow page table

Use rcu to protect shadow pages table to be freed, so we can safely walk it,
it should run fastly and is needed by mmio page fault

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