]> www.infradead.org Git - users/dwmw2/linux.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>
Tue, 25 May 2010 09:32:07 +0000 (12:32 +0300)
commit79daa585460fe446549e8becd15c6d443d14b876
treed009cbab8618bb3dde7d8af0685595d1f70c4491
parent6374719d7070baa1b6bb7c66c38235f9cc684c75
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