summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2010-02-03 16:11:03 -0500
committerMarcelo Tosatti <mtosatti@redhat.com>2010-03-01 12:36:08 -0300
commit6316e1c8c6af6ccb55ff8564231710660608f46c (patch)
treeeda5c9c5be2f2f11d820899515a4923d22467e8c /virt
parent8f0b1ab6fb045a1324d9435ba00c2940783b0041 (diff)
downloadtalos-obmc-linux-6316e1c8c6af6ccb55ff8564231710660608f46c.tar.gz
talos-obmc-linux-6316e1c8c6af6ccb55ff8564231710660608f46c.zip
KVM: VMX: emulate accessed bit for EPT
Currently KVM pretends that pages with EPT mappings never got accessed. This has some side effects in the VM, like swapping out actively used guest pages and needlessly breaking up actively used hugepages. We can avoid those very costly side effects by emulating the accessed bit for EPT PTEs, which should only be slightly costly because pages pass through page_referenced infrequently. TLB flushing is taken care of by kvm_mmu_notifier_clear_flush_young(). This seems to help prevent KVM guests from being swapped out when they should not on my system. Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud