]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: Drop cr4.pge from shadow page role
authorAvi Kivity <avi@redhat.com>
Mon, 19 Apr 2010 14:25:53 +0000 (17:25 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:03 +0000 (12:18 +0300)
commitb91a1606c1ef4adc4df29801476f938064b70535
treef751c8d6dca7a7b5e703e63f7d4f2834977ebf46
parent014b6f3b1e0bc00696b62e1dd1a5dded61f095aa
KVM: MMU: Drop cr4.pge from shadow page role

Since commit 7688173092b92, we no longer handle ptes with the global bit
set specially, so there is no reason to distinguish between shadow pages
created with cr4.gpe set and clear.

Such tracking is expensive when the guest toggles cr4.pge, so drop it.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmutrace.h
arch/x86/kvm/x86.c