]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: introduce FNAME(prefetch_gpte)
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 16 Oct 2012 12:10:12 +0000 (20:10 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 17 Oct 2012 14:39:19 +0000 (16:39 +0200)
commit42202056595802906ff357da67dbdea135dd19a8
treee00565bf3ed3e59d5a0ceac48f675ca2d5dd9f37
parent422c635b930e4bdc841c21d327a14b859b7e15ee
KVM: MMU: introduce FNAME(prefetch_gpte)

The only difference between FNAME(update_pte) and FNAME(pte_prefetch)
is that the former is allowed to prefetch gfn from dirty logged slot,
so introduce a common function to prefetch spte

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/paging_tmpl.h