]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - arch/x86/kvm/mmu.c
KVM: MMU: Use __set_spte to link shadow pages
authorAvi Kivity <avi@redhat.com>
Tue, 13 Jul 2010 11:27:05 +0000 (14:27 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:41 +0000 (06:40 +0300)
commit121eee97a7802acda8b78436cc53196e9885549f
treeb2106507ae7267dfe69f108fea3704a17e2a6fd4
parent32ef26a3598636be520abed90ed0c2f439d36bbe
KVM: MMU: Use __set_spte to link shadow pages

To avoid split accesses to 64 bit sptes on i386, use __set_spte() to link
shadow pages together.

(not technically required since shadow pages are __GFP_KERNEL, so upper 32
bits are always clear)

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