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-- | 1.0 KB |
Makefile | -rw-r--r-- | 305 bytes |
budget.c | -rw-r--r-- | 23.8 KB |
commit.c | -rw-r--r-- | 20.6 KB |
compress.c | -rw-r--r-- | 6.6 KB |
debug.c | -rw-r--r-- | 86.0 KB |
debug.h | -rw-r--r-- | 12.6 KB |
dir.c | -rw-r--r-- | 32.1 KB |
file.c | -rw-r--r-- | 45.0 KB |
find.c | -rw-r--r-- | 29.8 KB |
gc.c | -rw-r--r-- | 27.9 KB |
io.c | -rw-r--r-- | 33.3 KB |
ioctl.c | -rw-r--r-- | 5.2 KB |
journal.c | -rw-r--r-- | 42.4 KB |
key.h | -rw-r--r-- | 14.5 KB |
log.c | -rw-r--r-- | 19.4 KB |
lprops.c | -rw-r--r-- | 35.8 KB |
lpt.c | -rw-r--r-- | 58.6 KB |
lpt_commit.c | -rw-r--r-- | 51.9 KB |
master.c | -rw-r--r-- | 10.5 KB |
misc.h | -rw-r--r-- | 8.3 KB |
orphan.c | -rw-r--r-- | 24.8 KB |
recovery.c | -rw-r--r-- | 43.2 KB |
replay.c | -rw-r--r-- | 29.0 KB |
sb.c | -rw-r--r-- | 23.0 KB |
scan.c | -rw-r--r-- | 9.4 KB |
shrinker.c | -rw-r--r-- | 9.5 KB |
super.c | -rw-r--r-- | 60.2 KB |
tnc.c | -rw-r--r-- | 87.0 KB |
tnc_commit.c | -rw-r--r-- | 26.8 KB |
tnc_misc.c | -rw-r--r-- | 12.6 KB |
ubifs-media.h | -rw-r--r-- | 22.7 KB |
ubifs.h | -rw-r--r-- | 60.9 KB |
xattr.c | -rw-r--r-- | 15.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...