]> 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>
Thu, 12 Apr 2012 16:38:27 +0000 (12:38 -0400)
commit85bb8ecadd3f39c9d4b707a364a91548dc09f881
tree0a5a6526ef76d0b5f55387572513b4d3ef91b1cc
parentdb24e132f5abbc56d0f11ce8cf6ecce686852015
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