KVM: ARM: Transparent huge page (THP) support
authorChristoffer Dall <christoffer.dall@linaro.org>
Wed, 2 Oct 2013 22:32:01 +0000 (15:32 -0700)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 18 Oct 2013 00:06:30 +0000 (17:06 -0700)
commit9b5fdb9781f74fb15827e465bfb5aa63211953c8
tree0b2cec09a004720b520d39ff5db34ebb79e860ee
parentad361f093c1e31d0b43946210a32ab4ff5c49850
KVM: ARM: Transparent huge page (THP) support

Support transparent huge pages in KVM/ARM and KVM/ARM64.  The
transparent_hugepage_adjust is not very pretty, but this is also how
it's solved on x86 and seems to be simply an artifact on how THPs
behave.  This should eventually be shared across architectures if
possible, but that can always be changed down the road.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/mmu.c