lkml.org 
[lkml]   [2011]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.




\
 
 \ /
  Last update: 2011-01-20 18:59    [W:0.140 / U:3.280 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site