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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>