From: Christoffer Dall Date: Thu, 1 Nov 2012 16:14:45 +0000 (+0100) Subject: KVM: ARM: Support hugetlbfs backed huge pages X-Git-Tag: v3.13-rc1~80^2~33^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad361f093c1e31d0b43946210a32ab4ff5c49850;p=pandora-kernel.git KVM: ARM: Support hugetlbfs backed huge pages Support huge pages in KVM/ARM and KVM/ARM64. The pud_huge checking on the unmap path may feel a bit silly as the pud_huge check is always defined to false, but the compiler should be smart about this. Note: This deals only with VMAs marked as huge which are allocated by users through hugetlbfs only. Transparent huge pages can only be detected by looking at the underlying pages (or the page tables themselves) and this patch so far simply maps these on a page-by-page level in the Stage-2 page tables. Cc: Catalin Marinas Cc: Russell King Acked-by: Catalin Marinas Acked-by: Marc Zyngier Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed