Re: [PATCH 1/3] When migrate_pages returns 0, all pages must havebeen released

From: Mel Gorman
Date: Wed Jan 26 2011 - 03:14:42 EST

On Fri, Jan 21, 2011 at 01:17:05AM +0900, Minchan Kim wrote:
> From: Andrea Arcangeli <aarcange@xxxxxxxxxx>
> From: Andrea Arcangeli <aarcange@xxxxxxxxxx>
> In some cases migrate_pages could return zero while still leaving a
> few pages in the pagelist (and some caller wouldn't notice it has to
> call putback_lru_pages after commit
> cf608ac19c95804dc2df43b1f4f9e068aa9034ab).
> Add one missing putback_lru_pages not added by commit
> cf608ac19c95804dc2df43b1f4f9e068aa9034ab.
> Reviewed-by: Minchan Kim <>
> Signed-off-by: Andrea Arcangeli <aarcange@xxxxxxxxxx>

Better late than never;

Acked-by: Mel Gorman <mel@xxxxxxxxx>

Mel Gorman
Linux Technology Center
IBM Dublin Software Lab
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at