diff options
author | Minchan Kim <minchan.kim@gmail.com> | 2011-03-23 00:30:39 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-23 01:44:00 +0100 |
commit | 9d502c1c8d47b337c378c2ac8eaeee7918ad16b1 (patch) | |
tree | 2bd7b5213369a509220864868d593f4ab4e5ebd1 /kernel/fork.c | |
parent | mm: compaction: prevent kswapd compacting memory to reduce CPU usage (diff) | |
download | linux-9d502c1c8d47b337c378c2ac8eaeee7918ad16b1.tar.xz linux-9d502c1c8d47b337c378c2ac8eaeee7918ad16b1.zip |
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 <minchan.kim@gmail.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions