From: Marcelo Tosatti <[EMAIL PROTECTED]>
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
fi
From: Marcelo Tosatti <[EMAIL PROTECTED]>
Add an option so the user can specify the hugetlbfs mounted path, with
fallback to 4k pages on error.
Align the 4GB+ memslot on large page boundary.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
diff --