]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm-compaction-abort-compaction-loop-if-lock-is-contended-or-run-too-long-fix-2
authorMel Gorman <mgorman@suse.de>
Wed, 26 Sep 2012 01:33:49 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 26 Sep 2012 05:45:04 +0000 (15:45 +1000)
commitea1cdbd8384e07578b53aa83148d2570b489d6ad
tree911010cf023ca48d83b8d4f4bdb72bcf5ae567c8
parentaacb3b4e8c75f423c3e47a9a15bdd60abb3b4241
mm-compaction-abort-compaction-loop-if-lock-is-contended-or-run-too-long-fix-2

o Fix BUG_ON triggered due to pages left on cc.migratepages
o Make compact_zone_order() require non-NULL arg `contended'

[minchan@kernel.org: Putback pages isolated for migration if aborting]
[akpm@linux-foundation.org: compact_zone_order requires non-NULL arg contended]
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/compaction.c