The patch titled Subject: mm-vmstat-add-events-for-thp-migration-without-split-fix has been added to the -mm tree. Its filename is mm-vmstat-add-events-for-thp-migration-without-split-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-vmstat-add-events-for-thp-migration-without-split-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-vmstat-add-events-for-thp-migration-without-split-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/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-vmstat-add-events-for-thp-migration-without-split-fix s/hpage_nr_pages/thp_nr_pages/ due to "mm: replace hpage_nr_pages with thp_nr_pages". Cc: Anshuman Khandual <anshuman.khandual@xxxxxxx> Cc: Daniel Jordan <daniel.m.jordan@xxxxxxxxxx> Cc: Hugh Dickins <hughd@xxxxxxxxxx> Cc: John Hubbard <jhubbard@xxxxxxxxxx> Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx> Cc: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> Cc: Zi Yan <ziy@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/migrate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/mm/migrate.c~mm-vmstat-add-events-for-thp-migration-without-split-fix +++ a/mm/migrate.c @@ -1425,7 +1425,7 @@ int migrate_pages(struct list_head *from struct page *page; struct page *page2; int swapwrite = current->flags & PF_SWAPWRITE; - int rc, thp_nr_pages; + int rc, thp_n_pages; if (!swapwrite) current->flags |= PF_SWAPWRITE; @@ -1442,7 +1442,7 @@ retry: * during migration. */ is_thp = PageTransHuge(page); - thp_nr_pages = hpage_nr_pages(page); + thp_n_pages = thp_nr_pages(page); cond_resched(); if (PageHuge(page)) @@ -1479,7 +1479,7 @@ retry: } if (is_thp) { nr_thp_failed++; - nr_failed += thp_nr_pages; + nr_failed += thp_n_pages; goto out; } nr_failed++; @@ -1494,7 +1494,7 @@ retry: case MIGRATEPAGE_SUCCESS: if (is_thp) { nr_thp_succeeded++; - nr_succeeded += thp_nr_pages; + nr_succeeded += thp_n_pages; break; } nr_succeeded++; @@ -1508,7 +1508,7 @@ retry: */ if (is_thp) { nr_thp_failed++; - nr_failed += thp_nr_pages; + nr_failed += thp_n_pages; break; } nr_failed++; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm.patch mm-memcg-percpu-account-percpu-memory-to-memory-cgroups-fix.patch mm-memcg-percpu-account-percpu-memory-to-memory-cgroups-fix-fix.patch mm-vmstat-add-events-for-thp-migration-without-split-fix.patch linux-next-rejects.patch mm-madvise-introduce-process_madvise-syscall-an-external-memory-hinting-api-fix.patch mm-madvise-introduce-process_madvise-syscall-an-external-memory-hinting-api-fix-2.patch kernel-forkc-export-kernel_thread-to-modules.patch