From: Gioh Kim Date: Wed, 15 Apr 2015 23:13:33 +0000 (-0700) Subject: mm/compaction: reset compaction scanner positions X-Git-Tag: omap-for-v4.2/o2_dc~118^2~99 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=195b0c60809ce841e5818b365808e7da3286fd3c;p=pandora-kernel.git mm/compaction: reset compaction scanner positions When the compaction is activated via /proc/sys/vm/compact_memory it would better scan the whole zone. And some platforms, for instance ARM, have the start_pfn of a zone at zero. Therefore the first try to compact via /proc doesn't work. It needs to reset the compaction scanner position first. Signed-off-by: Gioh Kim Acked-by: Vlastimil Babka Acked-by: David Rientjes Cc: Joonsoo Kim Cc: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed