diff options
author | Minchan Kim <minchan@kernel.org> | 2012-08-22 01:16:03 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-22 01:45:03 +0200 |
commit | c81758fbe0fdbbc0c74b37798f55bd9c91d5c068 (patch) | |
tree | 5f25b6a2220c5e358e278681d6edc734b87288c3 /drivers/rtc/rtc-pcf2123.c | |
parent | drivers/misc/sgi-xp/xpc_uv.c: SGI XPC fails to load when cpu 0 is out of IRQ ... (diff) | |
download | linux-c81758fbe0fdbbc0c74b37798f55bd9c91d5c068.tar.xz linux-c81758fbe0fdbbc0c74b37798f55bd9c91d5c068.zip |
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 <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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions