From: Johannes Weiner Date: Wed, 6 Aug 2014 23:06:12 +0000 (-0700) Subject: mm: vmscan: rework compaction-ready signaling in direct reclaim X-Git-Tag: cleanup-for-v3.18~96^2~146 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b06496a338e83627dc5f0d25323e7a1ae9cb87d;p=pandora-kernel.git mm: vmscan: rework compaction-ready signaling in direct reclaim Page reclaim for a higher-order page runs until compaction is ready, then aborts and signals this situation through the return value of shrink_zones(). This is an oddly specific signal to encode in the return value of shrink_zones(), though, and can be quite confusing. Introduce sc->compaction_ready and signal the compactability of the zones out-of-band to free up the return value of shrink_zones() for actual zone reclaimability. Signed-off-by: Johannes Weiner Acked-by: Vlastimil Babka Cc: Mel Gorman Cc: Rik van Riel Cc: Michal Hocko Acked-by: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed