[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1101201130100.10695@router.home>
Date: Thu, 20 Jan 2011 11:30:35 -0600 (CST)
From: Christoph Lameter <cl@...ux.com>
To: Minchan Kim <minchan.kim@...il.com>
cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-mm <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>, Mel Gorman <mel@....ul.ie>,
Andrea Arcangeli <aarcange@...hat.com>
Subject: Re: [PATCH 1/3] When migrate_pages returns 0, all pages must have
been released
On Fri, 21 Jan 2011, Minchan Kim wrote:
> diff --git a/mm/migrate.c b/mm/migrate.c
> index 46fe8cc..7d34237 100644
> --- a/mm/migrate.c
> +++ b/mm/migrate.c
> @@ -772,6 +772,7 @@ uncharge:
> unlock:
> unlock_page(page);
>
> +move_newpage:
> if (rc != -EAGAIN) {
> /*
> * A page that has been migrated has all references
> @@ -785,8 +786,6 @@ unlock:
> putback_lru_page(page);
> }
>
> -move_newpage:
> -
> /*
> * Move the new page to the LRU. If migration was not successful
> * then this will free the page.
>
What does this do? Not covered by the description.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists