The patch titled Subject: mm-migrate-putback-split-folios-when-numa-hint-migration-fails-fix has been added to the -mm mm-unstable branch. Its filename is mm-migrate-putback-split-folios-when-numa-hint-migration-fails-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-migrate-putback-split-folios-when-numa-hint-migration-fails-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm 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 via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-migrate-putback-split-folios-when-numa-hint-migration-fails-fix Date: Mon Jul 8 03:57:29 PM PDT 2024 remove now unused local `nr_pages' Cc: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: Huang Ying <ying.huang@xxxxxxxxx> Cc: Hugh Dickins <hughd@xxxxxxxxxx> Cc: Peter Xu <peterx@xxxxxxxxxx> Cc: Yang Shi <shy828301@xxxxxxxxx> Cc: Zi Yan <ziy@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/migrate.c | 1 - 1 file changed, 1 deletion(-) --- a/mm/migrate.c~mm-migrate-putback-split-folios-when-numa-hint-migration-fails-fix +++ a/mm/migrate.c @@ -2621,7 +2621,6 @@ int migrate_misplaced_folio(struct folio int nr_remaining; unsigned int nr_succeeded; LIST_HEAD(migratepages); - int nr_pages = folio_nr_pages(folio); list_add(&folio->lru, &migratepages); nr_remaining = migrate_pages(&migratepages, alloc_misplaced_dst_folio, _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix.patch mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix-fix.patch mm-migrate-putback-split-folios-when-numa-hint-migration-fails-fix.patch