diff options
author | Marcelo Tosatti | 2010-12-22 12:01:57 +0100 |
---|---|---|
committer | Avi Kivity | 2011-01-12 10:31:13 +0100 |
commit | e49146dce8c3dc6f4485c1904b6587855f393e71 (patch) | |
tree | 1a7db0516cee7ff2810445e16d21dadd960237af /arch/x86/oprofile/op_counter.h | |
parent | KVM: VMX: Correct asm constraint in vmcs_load()/vmcs_clear() (diff) | |
download | kernel-qcow2-linux-e49146dce8c3dc6f4485c1904b6587855f393e71.tar.gz kernel-qcow2-linux-e49146dce8c3dc6f4485c1904b6587855f393e71.tar.xz kernel-qcow2-linux-e49146dce8c3dc6f4485c1904b6587855f393e71.zip |
KVM: MMU: only write protect mappings at pagetable level
If a pagetable contains a writeable large spte, all of its sptes will be
write protected, including non-leaf ones, leading to endless pagefaults.
Do not write protect pages above PT_PAGE_TABLE_LEVEL, as the spte fault
paths assume non-leaf sptes are writable.
Tested-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/oprofile/op_counter.h')
0 files changed, 0 insertions, 0 deletions