The patch titled mm: move_pages: no need to set pp->page to ZERO_PAGE(0) by default has been added to the -mm tree. Its filename is mm-move_pages-no-need-to-set-pp-page-to-zero_page0-by-default.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 *** See http://userweb.kernel.org/~akpm/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mm: move_pages: no need to set pp->page to ZERO_PAGE(0) by default From: Brice Goglin <Brice.Goglin@xxxxxxxx> pp->page is never used when not set to the right page, so there is no need to set it to ZERO_PAGE(0) by default. Signed-off-by: Brice Goglin <Brice.Goglin@xxxxxxxx> Acked-by: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx> Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/migrate.c | 6 ------ 1 file changed, 6 deletions(-) diff -puN mm/migrate.c~mm-move_pages-no-need-to-set-pp-page-to-zero_page0-by-default mm/migrate.c --- a/mm/migrate.c~mm-move_pages-no-need-to-set-pp-page-to-zero_page0-by-default +++ a/mm/migrate.c @@ -846,12 +846,6 @@ static int do_move_page_to_node_array(st struct vm_area_struct *vma; struct page *page; - /* - * A valid page pointer that will not match any of the - * pages that will be moved. - */ - pp->page = ZERO_PAGE(0); - err = -EFAULT; vma = find_vma(mm, pp->addr); if (!vma || !vma_migratable(vma)) _ Patches currently in -mm which might be from Brice.Goglin@xxxxxxxx are mm-stop-returning-enoent-from-sys_move_pages-if-nothing-got-migrated.patch mm-dont-vmalloc-a-huge-page_to_node-array-for-do_pages_stat.patch mm-extract-do_pages_move-out-of-sys_move_pages.patch mm-rework-do_pages_move-to-work-on-page_sized-chunks.patch mm-move_pages-no-need-to-set-pp-page-to-zero_page0-by-default.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