]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: split kvm_sync_page() function
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Sat, 15 May 2010 10:51:24 +0000 (18:51 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:49 +0000 (10:35 +0300)
commit6cb77c029f60ce9a083c0d731d464a5eafae8501
treebb90f755e648b97a69b10348e5ed2c65822d9c59
parent17d5dc3e48a22ff5cf9b7c7da079824d81b76f79
KVM: MMU: split kvm_sync_page() function

Split kvm_sync_page() into kvm_sync_page() and kvm_sync_page_transient()
to clarify the code address Avi's suggestion

kvm_sync_page_transient() function only update shadow page but not mark
it sync and not write protect sp->gfn. it will be used by later patch

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