]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: compaction: cache if a pageblock was scanned and no pages were isolated -fix2
authorMel Gorman <mgorman@suse.de>
Fri, 28 Sep 2012 00:19:48 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:31 +0000 (15:03 +1000)
commitad27398b818479461b9901c815a331ddd0b34000
treec6515a84b43067967f63e8e9083f05c82f6f3abd
parentdc5345fdae040da17dd9dff8d022a0806ecdc77f
mm: compaction: cache if a pageblock was scanned and no pages were isolated -fix2

The clearing of PG_migrate_skip potentially takes a long time if the
zone is massive. Be safe and check if it needs to reschedule.

This is a fix for
mm-compaction-cache-if-a-pageblock-was-scanned-and-no-pages-were-isolated.patch

Signed-off-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/compaction.c