commit | 05da45583de9b383dc81dd695fe248431d6c9f2b | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <marcelo@kvack.org> | Sat Feb 23 11:44:30 2008 -0300 |
committer | Avi Kivity <avi@qumranet.com> | Sun Apr 27 11:53:25 2008 +0300 |
tree | a76d699e60aca4f775d5f67254214654235e2e17 | |
parent | 2e53d63acba75795aa226febd140f67c58c6a353 [diff] |
KVM: MMU: large page support Create large pages mappings if the guest PTE's are marked as such and the underlying memory is hugetlbfs backed. If the largepage contains write-protected pages, a large pte is not used. Gives a consistent 2% improvement for data copies on ram mounted filesystem, without NPT/EPT. Anthony measures a 4% improvement on 4-way kernbench, with NPT. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>