Commit 14e0f9bc authored by Hugh Dickins's avatar Hugh Dickins Committed by Linus Torvalds

mm: correct a couple of page migration comments

It's migrate.c not migration,c, and nowadays putback_movable_pages() not
putback_lru_pages().
Signed-off-by: default avatarHugh Dickins <hughd@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: default avatarRafael Aquini <aquini@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 45637bab
/* /*
* Memory Migration functionality - linux/mm/migration.c * Memory Migration functionality - linux/mm/migrate.c
* *
* Copyright (C) 2006 Silicon Graphics, Inc., Christoph Lameter * Copyright (C) 2006 Silicon Graphics, Inc., Christoph Lameter
* *
...@@ -1113,7 +1113,7 @@ static int unmap_and_move_huge_page(new_page_t get_new_page, ...@@ -1113,7 +1113,7 @@ static int unmap_and_move_huge_page(new_page_t get_new_page,
* *
* The function returns after 10 attempts or if no pages are movable any more * The function returns after 10 attempts or if no pages are movable any more
* because the list has become empty or no retryable pages exist any more. * because the list has become empty or no retryable pages exist any more.
* The caller should call putback_lru_pages() to return pages to the LRU * The caller should call putback_movable_pages() to return pages to the LRU
* or free list only if ret != 0. * or free list only if ret != 0.
* *
* Returns the number of pages that were not migrated, or an error code. * Returns the number of pages that were not migrated, or an error code.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment