On Wed, Dec 10, 2014 at 03:22:21PM +0800, Wang, Yalin wrote: > smaps_pte_entry() doesn't ignore zero_huge_page, > but it ignore zero_page, because vm_normal_page() will > ignore it. We remove vm_normal_page() call, because walk_page_range() > have ignore VM_PFNMAP vma maps, it's safe to just use pfn_valid(), > so that we can also consider zero_page to be a valid page. We fixed huge zero page accounting in smaps recentely. See mm tree. -- Kirill A. Shutemov -- 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>