Skip to content
Commit d9ed9faa authored by Chris Metcalf's avatar Chris Metcalf
Browse files

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: default avatarHillf Danton <dhillf@gmail.com>
Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent fc0c49f5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment