aboutsummaryrefslogtreecommitdiff
path: root/include/asm-ia64/spinlock.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-04-30 17:05:38 +0300
committerAvi Kivity <avi@qumranet.com>2007-07-16 12:05:38 +0300
commita25f7e1f8c1ff68213a63dada9d5e32dc1a0f587 (patch)
treef1c08d4c6f6736561a42dd4d9462fb97db9c75c3 /include/asm-ia64/spinlock.h
parent05e0c8c344dd356b42e81bdf0d47d2b884bf49b5 (diff)
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>
Diffstat (limited to 'include/asm-ia64/spinlock.h')
0 files changed, 0 insertions, 0 deletions