From: Minchan Kim Date: Tue, 21 Aug 2012 23:16:03 +0000 (-0700) Subject: mm/compaction.c: fix deferring compaction mistake X-Git-Tag: v3.6-rc3~8^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c81758fbe0fdbbc0c74b37798f55bd9c91d5c068;p=pandora-kernel.git mm/compaction.c: fix deferring compaction mistake Commit aff622495c9a ("vmscan: only defer compaction for failed order and higher") fixed bad deferring policy but made mistake about checking compact_order_failed in __compact_pgdat(). So it can't update compact_order_failed with the new order. This ends up preventing correct operation of policy deferral. This patch fixes it. Signed-off-by: Minchan Kim Reviewed-by: Rik van Riel Acked-by: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed