kernel-fxtec-pro1x/drivers/kvm
Avi Kivity a25f7e1f8c KVM: Reduce misfirings of the fork detector
The kvm mmu tries to detects forks by looking for repeated writes to a
page table.  If it sees a fork, it unshadows the page table so the page
table copying can proceed at native speed instead of being emulated.

However, the detector also triggered on simple demand paging access patterns:
a linear walk of memory would of course cause repeated writes to the same
pagetable page, causing it to unshadow prematurely.

Fix by resetting the fork detector if we detect a demand fault.

Signed-off-by: Avi Kivity <avi@qumranet.com>
2007-07-16 12:05:38 +03:00
..
Kconfig [S390] Kconfig: refine depends statements. 2007-05-10 15:46:07 +02:00
kvm.h KVM: Avoid saving and restoring some host CPU state on lightweight vmexit 2007-07-16 12:05:38 +03:00
kvm_main.c KVM: Avoid saving and restoring some host CPU state on lightweight vmexit 2007-07-16 12:05:38 +03:00
kvm_svm.h KVM: SVM: Only save/restore MSRs when needed 2007-05-03 10:52:32 +03:00
Makefile
mmu.c KVM: Assume that writes smaller than 4 bytes are to non-pagetable pages 2007-07-16 12:05:38 +03:00
paging_tmpl.h KVM: Reduce misfirings of the fork detector 2007-07-16 12:05:38 +03:00
segment_descriptor.h
svm.c KVM: SVM: Allow direct guest access to PC debug port 2007-07-16 12:05:37 +03:00
svm.h KVM: SVM: forbid guest to execute monitor/mwait 2007-05-03 10:52:26 +03:00
vmx.c KVM: Unindent some code 2007-07-16 12:05:38 +03:00
vmx.h
x86_emulate.c KVM: Allow passing 64-bit values to the emulated read/write API 2007-05-03 10:52:31 +03:00
x86_emulate.h KVM: Allow passing 64-bit values to the emulated read/write API 2007-05-03 10:52:31 +03:00