From: Minchan Kim Date: Tue, 22 Mar 2011 23:30:39 +0000 (-0700) Subject: mm/compaction: check migrate_pages's return value instead of list_empty() X-Git-Tag: v2.6.39-rc1~355 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d502c1c8d47b337c378c2ac8eaeee7918ad16b1;p=pandora-kernel.git mm/compaction: check migrate_pages's return value instead of list_empty() Many migrate_page's caller check return value instead of list_empy by cf608ac19c ("mm: compaction: fix COMPACTPAGEFAILED counting"). This patch makes compaction's migrate_pages consistent with others. This patch should not change old behavior. Signed-off-by: Minchan Kim Cc: Mel Gorman Cc: Andrea Arcangeli Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed