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>
Thu, 2 Oct 2014 15:18:14 +0000 (17:18 +0200)
commitad8b3ca795b8534c292e8916ffdfc36b4bd09940
treea41b2659fbc93b5aa20e6e93a793088b9833d428
parentcd709bb9fb35e687107761d5feed331d4c2c48e5
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>
(cherry picked from commit 9b5fdb9781f74fb15827e465bfb5aa63211953c8)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/mmu.c