]> 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, 28 Sep 2012 00:19:44 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Sep 2012 06:07:47 +0000 (16:07 +1000)
commitf13f418093800d075c20c44b434b82c65dd84143
treee985fefa0354929853d1e1b08dbb648909df50f3
parentb85f0e22c5ffe470b8257fe09f48c8f10109a68d
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