Skip to content

Commit 05da455

Browse files
Marcelo Tosattiavikivity
authored andcommitted
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>
1 parent 2e53d63 commit 05da455

File tree

6 files changed

+262
-32
lines changed

6 files changed

+262
-32
lines changed

0 commit comments

Comments
 (0)