]> 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>
Fri, 21 Sep 2012 01:00:25 +0000 (11:00 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 21 Sep 2012 05:58:56 +0000 (15:58 +1000)
commit93c6dd7c58f0db3058e435da287b8bf90c5f8e2e
tree2b621871f5d25714e0f73a1d9f0e3e1cdb1b8f2d
parentf8126fef4b29c8d7b74d7e2cbdf8cfd0eb7a5272
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