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
History
File Mode Size
Kconfig -rw-r--r-- 1.0 KB
Makefile -rw-r--r-- 166 bytes
bitmap.c -rw-r--r-- 6.6 KB
dir.c -rw-r--r-- 11.2 KB
file.c -rw-r--r-- 1.1 KB
inode.c -rw-r--r-- 17.9 KB
itree_common.c -rw-r--r-- 7.7 KB
itree_v1.c -rw-r--r-- 1.4 KB
itree_v2.c -rw-r--r-- 1.9 KB
minix.h -rw-r--r-- 5.2 KB
namei.c -rw-r--r-- 5.1 KB

back to top