From: Brice Goglin 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 Acked-by: Christoph Lameter Cc: Nick Piggin Signed-off-by: Andrew Morton --- 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)) _