The patch titled Subject: mm-account-pud-page-tables-fix has been added to the -mm tree. Its filename is mm-account-pud-page-tables-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-account-pud-page-tables-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-account-pud-page-tables-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> Subject: mm-account-pud-page-tables-fix s/pmd_t/pud_t/ Link: http://lkml.kernel.org/r/20171004074305.x35eh5u7ybbt5kar@xxxxxxxxxxxxxxxxxx Cc: Rik van Riel <riel@xxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/task_mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/proc/task_mmu.c~mm-account-pud-page-tables-fix fs/proc/task_mmu.c --- a/fs/proc/task_mmu.c~mm-account-pud-page-tables-fix +++ a/fs/proc/task_mmu.c @@ -51,7 +51,7 @@ void task_mem(struct seq_file *m, struct swap = get_mm_counter(mm, MM_SWAPENTS); ptes = PTRS_PER_PTE * sizeof(pte_t) * atomic_long_read(&mm->nr_ptes); pmds = PTRS_PER_PMD * sizeof(pmd_t) * mm_nr_pmds(mm); - puds = PTRS_PER_PUD * sizeof(pmd_t) * mm_nr_puds(mm); + puds = PTRS_PER_PUD * sizeof(pud_t) * mm_nr_puds(mm); seq_printf(m, "VmPeak:\t%8lu kB\n" "VmSize:\t%8lu kB\n" _ Patches currently in -mm which might be from kirill.shutemov@xxxxxxxxxxxxxxx are mm-account-pud-page-tables.patch mm-account-pud-page-tables-fix.patch mm-add-infrastructure-for-get_user_pages_fast-benchmarking.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html