]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3463201e3a4f958e7ca441c8ada014f0e88d6f6c
treeb2106507ae7267dfe69f108fea3704a17e2a6fd4
parentfa309f7c84afea87aba54f825d1c77a10e6c8504
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