On Tue, Oct 21, 2014 at 11:35:48AM +0300, Kirill A. Shutemov wrote: > pud_huge() too. Or filter out VM_HUGETLB altogether.
Oh right, giga pages, all this new fangled stuff ;-) But yes, I suppose we can exclude hugetlbfs, we should arguably make the thp muck work though. > BTW, what keeps mm_struct around? It seems we don't take reference during > page fault. Last I checked tasks have a ref on their own mm, and seeing this all runs in task context, the mm should be pretty safe. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/