Comment 13 for bug 1234718

Revision history for this message
Christoffer Dall (cdall) wrote :

Just to clarify the KVM support for THP.

What we are talking about is host kernel support for THP and how that interacts with KVM.

There were bugs in the previous huge page patch, please keep an eye on kvm-arm-next the next few days, we will be merging a more well-tested and reviewed patch soon.

For the record, without the THP patches for KVM, if THP is enabled on the host kernel, guest memory may be backed by pages that linux groups as THPs, but the Stage-2 page tables would map the pages using 4K mappings. When the KVM THP patches are present the Stage-2 entries will be 2MB huge mappings.

Hope this clarifies things.

-Christoffer