]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: add new arch_make_huge_pte() method for tile support
authorChris Metcalf <cmetcalf@tilera.com>
Sun, 1 Apr 2012 18:01:34 +0000 (14:01 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Mon, 2 Apr 2012 19:37:10 +0000 (15:37 -0400)
commit8f9d146184596d13d68ad79f1425c8cee9d2c325
treea7d100c42e004038d436a694700838d6911bd54c
parentda483781bbffec97063bc86bb76aa68c27993773
mm: add new arch_make_huge_pte() method for tile support

The tile support for multiple-size huge pages requires tagging
the hugetlb PTE with a "super" bit for PTEs that are multiples of
the basic size of a pagetable span.  To set that bit properly
we need to tweak the PTe in make_huge_pte() based on the vma.

This change provides the API for a subsequent tile-specific
change to use.

Reviewed-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
include/linux/hugetlb.h
mm/hugetlb.c