]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: MMU: Make flooding detection work when guest page faults are bypassed
authorAvi Kivity <avi@qumranet.com>
Sun, 23 Sep 2007 12:10:49 +0000 (14:10 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:48 +0000 (17:52 +0200)
commit12b7d28fc102b772eb70f98491587ec5ee717baf
tree679077d072c9c0195a962a16f805bb228070a87c
parentc7addb902054195b995114df154e061c7d604f69
KVM: MMU: Make flooding detection work when guest page faults are bypassed

When we allow guest page faults to reach the guests directly, we lose
the fault tracking which allows us to detect demand paging.  So we provide
an alternate mechnism by clearing the accessed bit when we set a pte, and
checking it later to see if the guest actually used it.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/mmu.c
drivers/kvm/paging_tmpl.h