Re: [PATCH 5/12] mm: correct a couple of page migration comments

Rafael Aquini
2015-10-21T17:53:49Z

On Sun, Oct 18, 2015 at 09:55:56PM -0700, Hugh Dickins wrote:
> It's migrate.c not migration,c, and nowadays putback_movable_pages()
> not putback_lru_pages().
>
> Signed-off-by: Hugh Dickins <hughd@google.com>
> ---
> mm/migrate.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- migrat.orig/mm/migrate.c 2015-10-18 17:53:14.326325730 -0700
> +++ migrat/mm/migrate.c 2015-10-18 17:53:17.579329434 -0700
> @@ -1,5 +1,5 @@
> /*
> - * Memory Migration functionality - linux/mm/migration.c
> + * Memory Migration functionality - linux/mm/migrate.c
> *
> * Copyright (C) 2006 Silicon Graphics, Inc., Christoph Lameter
> *
> @@ -1113,7 +1113,7 @@ out:
> *
> * 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.
> - * 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.
> *
> * Returns the number of pages that were not migrated, or an error code.
Acked-by: Rafael Aquini <aquini@redhat.com>