]> 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>
Fri, 5 Oct 2012 04:01:06 +0000 (14:01 +1000)
commit68e67e2c56fc55881b5aed2080b3ad48ff4fabbf
tree197627b63e8f94cf5753fba161f358a10092fa28
parentec2be7dd9f2e4a31b9d905998be8958c20771aea
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