]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: allow more page become unsync at gfn mapping time
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 24 May 2010 07:40:07 +0000 (15:40 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:51 +0000 (10:35 +0300)
commitaed33921492bd29447b66e13d04f150b087c6e51
treebe4a4ad779ff4330e016eb390653e526d90a17db
parent049fe91ae6b73f19184f512bb9883ea801591046
KVM: MMU: allow more page become unsync at gfn mapping time

In current code, shadow page can become asynchronous only if one
shadow page for a gfn, this rule is too strict, in fact, we can
let all last mapping page(i.e, it's the pte page) become unsync,
and sync them at invlpg or flush tlb time.

This patch allow more page become asynchronous at gfn mapping time

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