Revision c81758fbe0fdbbc0c74b37798f55bd9c91d5c068 authored by Minchan Kim on 21 August 2012, 23:16:03 UTC, committed by Linus Torvalds on 21 August 2012, 23:45:03 UTC
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 <minchan@kernel.org> Reviewed-by: Rik van Riel <riel@redhat.com> Acked-by: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 7838f99
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.3 KB |
Makefile | -rw-r--r-- | 379 bytes |
cache.c | -rw-r--r-- | 10.8 KB |
cookie.c | -rw-r--r-- | 13.3 KB |
fsdef.c | -rw-r--r-- | 4.2 KB |
histogram.c | -rw-r--r-- | 2.8 KB |
internal.h | -rw-r--r-- | 12.2 KB |
main.c | -rw-r--r-- | 5.2 KB |
netfs.c | -rw-r--r-- | 2.6 KB |
object-list.c | -rw-r--r-- | 11.9 KB |
object.c | -rw-r--r-- | 25.3 KB |
operation.c | -rw-r--r-- | 11.8 KB |
page.c | -rw-r--r-- | 25.7 KB |
proc.c | -rw-r--r-- | 1.9 KB |
stats.c | -rw-r--r-- | 9.6 KB |
Computing file changes ...