[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hugepage patches
- need to implement either hugepage_vma()/follow_huge_addr() or
pmd_huge()/follow_huge_pmd(), depending on whether a page's hugeness can be
determined via pmd inspection. Implementations of both schemes for ia32
are here.
Remind me why we can't just look at the PTE? Why can't
we end up doing something like:
if (!pmd_is_huge(pmd)) {
ptep = ...;
if (pte_is_huge(*ptep)) {
}
}
Which is what all these systems besides x86 and PPC-BAT are doing. I
don't see the real requirement for a full VMA lookup in these cases.
The page tables say fully whether we have huge stuff here or not.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/